-
-
Notifications
You must be signed in to change notification settings - Fork 7k
not declared in this scope #4939
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
Comments
Hi @zenmanenergy , |
I just installed and tested it. This is not fixed in v 1.6.9 |
Thanks for testing. Could you also test the builder linked here? arduino/arduino-builder#131 (comment) If also this doesn't work please comment on arduino/arduino-builder#140 with your PC specifications (OS version), the board you are targeting, core version of this board (you can get it from board manager) and an example sketch triggering the problem, thanks! |
Just tested it on a MacOSX El Cap 10.11.4 with Arduino 1.6.9 IDE and the downloaded arduino-builder file in the /Contents/Java folder and it gives me the exact same error. |
This is using an esp8266 01 board using the v2.2.0 core arduino codebase. |
Using esp core 2.2.0 and IDE 1.6.9 a simple sketch with
and on the other tab
works correctly. I believe that your issue has already been opened somewhere, so please attach the sketch (or a minimal sketch that triggers the issue). |
Scratch that, I was testing the wrong file! I had two files I was working with that had the same name, I apologize. It IS fixed. Keep this closed. Thank you facchinm |
Or rather... it is fixed with the 1.3.1 version of the builder. It's still broken in current arduino-builder in v1.6.9 |
Good to know 😄 Thanks for reporting! The PR containing the fix should be merged in the next few days! |
Thanks again. And thanks for working on the IDE. It's frustrating at times when things break, but overall it's awesome! |
I just upgraded from 1.6.5 to 1.6.8 and some of my code broke because of the tabs.
If you have two tabs and a function is defined in the right tab and called in the left tab it throws an error:
'functionName' is not declared in this scope
But if I simply copy and paste the same function code above where it is called then the error goes away. This didn't used to happen in previous versions of the IDE.
I recognize using .h files to declare the functions will fix this, but that's a more complicated process for a beginner. This error makes tabs sort of useless.
The text was updated successfully, but these errors were encountered: