On Fri, 12 Feb 2010, Harald Servat wrote:
Hello, I'm using gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux) and I'm curious about the fact that gcc does not complain when giving invalid directories as -I parameters, like: # gcc -Wall -Wextra -I /nonexistent test.c test.c:1: warning: unused parameter ʽargcʼ test.c:1: warning: unused parameter ʽargvʼ Shouldn't gcc warn (or fail) about the inexistent directory?
-Wmissing-include-dirs (C, C++, Objective-C and Objective-C++ only) Warn if a user-supplied include directory does not exist. -- Marc Glisse