Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » CODAN errors(C++ code compiles but CODAN still shows errors with Delegate definitions)
CODAN errors [message #1775375] Sat, 28 October 2017 16:22
Ian Abercrombie is currently offline Ian AbercrombieFriend
Messages: 1
Registered: October 2017
Junior Member
I am using the ESP8266 sample code with the GCC cross compiler. The samples compile with no errors but in Eclipse CDT 8.6.0 on Linux but there are several errors listed by CODAN.

For example...


Gives this error:

Invalid arguments '
Candidates are:
void onStationGotIP(Delegate<void (IPAddress, IPAddress, IPAddress)>)

gotIP is defined immediately above in the source file as:

static void gotIP(IPAddress ip, IPAddress netmask, IPAddress gateway)

onStationGotIP is defined as:

void onStationGotIP(StationGotIPDelegate delegateFunction);

StationGotIPDelegate is typedef as

typedef Delegate<void(IPAddress, IPAddress, IPAddress)> StationGotIPDelegate;

All of this looks perfectly legal code to me but CODAN does not seem to understand it. How can I teach CODAN to handle this correctly like the GCC cross compiler does?
Previous Topic:Java EE / Solaris 10 / Invalid argument
Next Topic:Eclipse PDT Download sha512sum failing...
Goto Forum:

Current Time: Fri Jul 10 16:58:20 GMT 2020

Powered by FUDForum. Page generated in 0.02847 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top