GCC presently does not issue a warning for missing include directories specified. Could one be added? Or perhaps there is a reason it is not being checked at present that I am not aware of
This compiles fine: g++ -Wall -I./MissingIncludeDir main.cpp -- Summary: Issue warning about missing include directories specified on command line Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jg at jguk dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31758