-
-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
arduino/ctags
#4Labels
help wantedAssistance from the community is especially welcomeAssistance from the community is especially welcometopic: preprocessorRelated to sketch preprocessingRelated to sketch preprocessingtype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
there's something about this header file that crashes the preprocessor, probably indicates some more general purpose bug. reproduce by:
- add
http://arduino.esp8266.com/stable/package_esp8266com_index.json
to board manager prefs - use board manager to install ESP8266 support
- try to compile this sketch
#include "ESP8266WiFi.h"
void setup() {}
void loop() { hello(); }
void hello(void) {}
- will fail due to not having auto-generated prototype for hello()
- now put
#include "ESP8266WiFi.h"
on last line, recompile - works now because while it does crash on the #include, its after the prototypes are made (?)
Also mentioned @ esp8266/Arduino#1066
Metadata
Metadata
Assignees
Labels
help wantedAssistance from the community is especially welcomeAssistance from the community is especially welcometopic: preprocessorRelated to sketch preprocessingRelated to sketch preprocessingtype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project