-
-
Notifications
You must be signed in to change notification settings - Fork 7k
FYI #error and #warning on Nightly build 1.5.8 #2415
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
The hidden warnings are the subject of #1728. AFAICS, #error should indeed stop the compilation, so I'm surprised it doesn't and especially that something changed since 1.5.8. This needs some looking at. |
#error does indeed stop the compiler (at least with 1.6.3) |
Thanks for your work. I am not sure why a semi-serious developer AKA coding more that "blink LED" would NOT want all helpful stuff from compiler. Thanks again. |
* upstream/master: (239 commits) Fix for issue arduino#292 Windows: build_pull_request needed to be upgraded as well Update revisions.txt Windows: JRE is chosen at build time via WINDOWS_BUNDLED_JVM property Update Tone.cpp Update revisions.txt Block discovery threads until packages is not null, otherwise boards discovered during startup will miss model name Also SerialDiscovery was affected by bug found at 40535df. Fixes arduino#2892 NetworkDiscovery was silently failing because packages werenìt ready yet. Fixes arduino#2837 Better preference for setting warnings level. See arduino@61592d7#commitcomment-10668365 SAM boards stop compiling due to way of handling params with spaces on different OSs. Fixed Update Tone.cpp Restored error messages. Got rid of MessageSyphon as ther were losing some error messages. Fixes arduino#2737 Windows: added listComPorts test case New preference: enable all compiler warnings, off by default. Fixes arduino#1728 and arduino#2415. Also affects arduino#2634 and arduino#2207 build.xml: spreading failonerror on all exec tasks, it's better to crash early Lib/Board Manager CRC check is now case insensitive. Fixes arduino#2953 License fix to audio library License fix Library Manager: better error message ...
Just minor stuff
The #error does not stops compiler - it should , right? It works on "regular " 1.5.8 stopping the compiler
warning gets not reaction from compiler - on both Nightly ( Nov 4) and regular 1.5.8. It should just print the message attached.
The text was updated successfully, but these errors were encountered: