Dave Uhring wrote:
If a -I/some/directory is used as a CFLAG then the *include directive must read
#include <driver.h>, *not* #include "driver.h". The latter demands that the
header file be in the same directory as the source file.
Absolutely not true. Directly from the gcc online manual:
"GCC looks for headers requested with #include "file" first in the
directory containing the current file, then in the directories as
specified by -iquote options, then in the same places it would have
looked for a header requested with angle brackets. For example, if
/usr/include/sys/stat.h contains #include "types.h", GCC looks for
types.h first in /usr/include/sys, then in its usual search path."
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"