-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Missing header file is not reported at compile (or verify) time #1508
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
This is a compiler bug, not ide 2013/7/16 michaelshiloh notifications@github.com
|
Isn't this a problem with the flags passed to the compiler, really? I don't have the Arduino IDE at hand to check, but I'd guess this is related to the -w (suppress warnings) or -Werror (treat warnings as errors) flags or something like that... |
Either way, it should be reported to the user On 07/16/2013 01:12 AM, lestofante wrote:
Michael Shiloh Educational Materials coordinator at Arduino.cc |
Either way, it should be fixed. On 07/16/2013 02:17 AM, Matthijs Kooijman wrote:
Michael Shiloh Educational Materials coordinator at Arduino.cc |
Sorry but the ide does not play with compiler messages. But if I'm right
|
This is caused by the |
If a header file is missing or miss-spelled, it is not reported.
This seems wrong.
(The compile will very likely fail later due to undefined variables, and this
does generate error messages, but the real error is the missing header
file, so the error message is very misleading, especially for beginners.)
I'm using 1.0.5 on Linux; verified also on Mac OS (also using 1.0.5)
If I turn on verbose output, there is a warning that the header file can't
be found. This warning should be reported even when verbose output is
suppressed.
The text was updated successfully, but these errors were encountered: