You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Arduino 1.6.5, this worked (and still works fine):
#if !defined ethernet_h && !defined _YUN_CLIENT_H_
#error "you must uncomment the includes for your board configuration. See OPTIONS A and B in the NETWORK CONFIGURATION SECTION"
#endif
However since updating to Arduino 1.6.6 the error is always thrown. It seems to be that ethernet_h is no longer found by the preprocessor even though Ethernet.h is included. The Ethernet library is still included and works as expected. Maybe it's loaded later even though it is included above this code. It could also just be sloppy coding on my part that is picked up by stricter checking in the updated arduino-builder.
The text was updated successfully, but these errors were encountered:
soundanalogous
changed the title
possible preprocessor error when checking for included files
possible preprocessor error when checking for included files in Arduino 1.6.6
Nov 8, 2015
soundanalogous
changed the title
possible preprocessor error when checking for included files in Arduino 1.6.6
possible preprocessor issue when checking for included files in Arduino 1.6.6
Nov 8, 2015
I think this is essentially the same issue as arduino/arduino-builder#33 (though that talks about a specific USBCON define, but the issue is really more generic). I'll add a comment to that issue soon to highlight the generic issue.
In Arduino 1.6.5, this worked (and still works fine):
Full file for greater context.
However since updating to Arduino 1.6.6 the error is always thrown. It seems to be that
ethernet_h
is no longer found by the preprocessor even though Ethernet.h is included. The Ethernet library is still included and works as expected. Maybe it's loaded later even though it is included above this code. It could also just be sloppy coding on my part that is picked up by stricter checking in the updated arduino-builder.The text was updated successfully, but these errors were encountered: