Skip to content

Arduino 1.8.7 Compile Failure (Works in 1.8.5) #8014

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
SukkoPera opened this issue Sep 19, 2018 · 1 comment
Closed

Arduino 1.8.7 Compile Failure (Works in 1.8.5) #8014

SukkoPera opened this issue Sep 19, 2018 · 1 comment

Comments

@SukkoPera
Copy link

This sketch does not compile on Arduino 1.8.7, producing the following error:

G:/Arduino/TAFFY/TAFFY_V1.3/TAFFY_V1.3.ino:65:19: error: 'ricetta' was not declared in this scope

This happens because the automatically generated function prototypes are inserted too early, before struct ricetta is defined, as shown in the preprocessed sketch.

This didn't happen in Arduino 1.8.5, which put the prototypes just before the setup() function. Preprocessor output is here.

This issue was raised by user gianlucaf on the Arduino forums.

@facchinm
Copy link
Member

Hi @SukkoPera ,
the issue has been already described by arduino/arduino-builder#292 and fixed with arduino/arduino-builder#294 .

I'd close this one to keep track of the issue in one place only; in the meantime, if you could test arduino/arduino-builder#294 (comment) and report back it would be great 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants