-
-
Notifications
You must be signed in to change notification settings - Fork 13
#warning is removed #4
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
Well, what did you expect when you set "Compiler warnings" to "None"? |
@PaulStoffregen, he said "any setting above "None" What I believe happens here, is that the sketch sources are preprocessed before the prototypes are inserted (to prevent inserting the prototypes in a place that is removed by preprocessing). However, this means that when compiling the sketch code, it is already preprocessed. I can see three fixes:
Option #3 is probably the easiest and most portable of these, and even though the output is slightly mixed up, all relevant warnings should at least be shown. |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
@LEKPHET-KUNSUE AKA "Phetdanai" I see you have created a new account to circumvent your GitHub ban and are continuing your previous pattern of adding pointless comments in our repositories. I'll give you the same warning as I did last time: Please stop leaving these pointless comments. These generate noise that waste the time of the contributors who provide the development work that benefits the entire Arduino community so they are very harmful. If I see any more abusive behavior from you then I am going to block you from accessing any of Arduino's repositories and report your account to GitHub. |
Using Arduino IDE 1.9.0-beta build 25 with Windows 7 64 bit
The line
#warning foo
is missing from the preprocessed .ino.cpp file in the temporary build folder.arduino-preprocessor
-debug
output:https://gist.githubusercontent.com/per1234/4a355c6872fbca648378aaf3974fffd4/raw/5a775baad27a738b21abbc57a6682fd863b31a75/arduino-preprocessor_debug_output.txt
The issue does not occur with Arduino IDE 1.8.6 Hourly Build 2017/11/13 or Arduino IDE 1.8.5.
The text was updated successfully, but these errors were encountered: