Skip to content

silently ignore bad #include bug #1846

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
Devon7 opened this issue Feb 4, 2014 · 2 comments
Closed

silently ignore bad #include bug #1846

Devon7 opened this issue Feb 4, 2014 · 2 comments
Labels
Type: Duplicate Another item already exists for this topic

Comments

@Devon7
Copy link

Devon7 commented Feb 4, 2014

Given the erroneous sketch

#include <thisLibraryDoesNotExist.h>
void setup() {}
void loop() {}

Arduino 1.5.2 and later fail to report the error
Arduino 1.0.5 and earlier report the error

sketch_feb03a.ino:1:37: warning: thisLibraryDoesNotExist.h: No such file or directory
    Peace
        --Devon

P.S. Additional detail at http://forum.Arduino.cc?topic=215093

PaulS
« Reply #1 on: 2014 February 03 19:20:55 »

    Arduino 1.0.5 and earlier report the error

Not always, and it's a real pain in the ass when it doesn't. Prior to 1.0, missing include files were ALWAYS reported.

@matthijskooijman
Copy link
Collaborator

This is a duplicate of #1508 and #1057. However, the actual cause of this issue is that warnings are suppressed by -w, which is the subject of #1728, so I think all this issue, as wel as #1508 and #1057 can be closed in favor of that one.

@ffissore
Copy link
Contributor

Closing in favour of #1728 as suggested by @matthijskooijman

@per1234 per1234 added the Type: Duplicate Another item already exists for this topic label Jul 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

4 participants