CODAN errors [message #1775375] |
Sat, 28 October 2017 16:22 |
Ian Abercrombie 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...
WifiEvents.onStationGotIP(gotIP);
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?
|
|
|
Powered by
FUDForum. Page generated in 0.03256 seconds