You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you have a function whose prototype immediately before its implementation is split across two lines, it seems that this breaks Arduino automatic forward declaration. Minimal example to see this:
Strangely, I think this is something that used to work, but now doesn't. We have some user contributed code that must have compiled once, but suddenly I am getting a lot of support requests for it based around this.
The text was updated successfully, but these errors were encountered:
Hi, the error you are experiencing has already been reported to the arduino-builder repo arduino/arduino-builder#80
A possible solution is here arduino/arduino-builder#117 but has not been merged yet
I'm attaching the binaries for arduino-builder which should solve the problem, please test them (by replacing arduino-builder binary in your installation folder with the one provided suitable for your platform) and report the results in the linked issue 😉 arduino-builder-pr117.zip
Thanks Martino - I had checked the Arduino issues list for dupes, but didn't think about the builder repo. This definitely works when dropped in to Arduino 1.6.7 on OSX. Will comment in the linked issue too. Thanks, and keep up the great work!
When you have a function whose prototype immediately before its implementation is split across two lines, it seems that this breaks Arduino automatic forward declaration. Minimal example to see this:
gives the following error at compile time:
which can be fixed by replacing the code with
Strangely, I think this is something that used to work, but now doesn't. We have some user contributed code that must have compiled once, but suddenly I am getting a lot of support requests for it based around this.
The text was updated successfully, but these errors were encountered: