Skip to content

preprocessor fails on #include "ESP8266WiFiMulti.h" (for external ESP8266 addon) #185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
19eighties opened this issue Oct 10, 2016 · 2 comments
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself topic: preprocessor Related to sketch preprocessing type: imperfection Perceived defect in any part of project

Comments

@19eighties
Copy link

19eighties commented Oct 10, 2016

Reference: #68

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>
#include <ESP8266WiFiMulti.h>
void setup() {}
void loop() { hello(); }
void hello(void) {}

Error output:
hunt-compile-error:4: error: 'hello' was not declared in this scope void loop() { hello(); } ^ exit status 1 'hello' was not declared in this scope

Using 1.6.9 on Mac OS 10.11.16.

@facchinm
Copy link
Member

This was solved between IDE 1.6.9 and 1.6.10. Your sketch compiles correctly now (latest IDE is 1.6.12), so I'm closing this as solved

@19eighties
Copy link
Author

OK, I didn't realize I was that far behind, thanks.

@per1234 per1234 added conclusion: duplicate Has already been submitted topic: code Related to content of the project itself topic: preprocessor Related to sketch preprocessing type: imperfection Perceived defect in any part of project labels Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself topic: preprocessor Related to sketch preprocessing type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants