-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Arduino 1.6.6 now requires function prototypes in sketches (preprocessor changed?) #1066
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
I have noticed the same with Arduino-PR-4107-BUILD-421 but assumed this was a special build. |
ok yeah its a thing thats now done with arduino-builder |
ok so its actually not even getting to the prototype gen state. what happens is it hits the |
Traced to |
I'm affected by this issue, too. |
I confirm this behaviour. I'm using Arduino IDE 1.6.7 with esp8266 boards package version 2.0.0. |
This is fixed now in Arduino nightly builds, see arduino/arduino-builder#68. |
or at least, all my code didnt work without em :)
e.g.
no longer works without sticking
void myfunction();
at the top (before loop())
is it a big deal? not really, but its ... unusual since neither avr compilation requires nor was this required before.
Its mentioned here https://www.arduino.cc/en/Main/FAQ
"Your sketch undergoes minor changes (e.g. automatic generation of function prototypes) and then is passed directly to a C/C++ compiler (avr-g++)."
perhaps that step is not done anymore?
anyways, ill look into it too
The text was updated successfully, but these errors were encountered: