Pages: [1]   Go Down
Author Topic: why ignore bad #includes?  (Read 423 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
God Member
Karma: 25
Posts: 889
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I believe it is a bug that 1.0.5 compiles this without error.

#include <it_just_plain_isnt/there/at/all.h>

void setup() {
  // put your setup code here, to run once:


void loop() {
  // put your main code here, to run repeatedly:

I just spent a half hour messing with a library that wanted #include <stdint.h> when I had mistakenly put #include <sys/types.h>.  GCC will definitely notice if a whole include is not found.  Why have Arduino just ignore this situation?

Pages: [1]   Go Up
Jump to: