------- Comment #3 from joseph at codesourcery dot com 2009-06-15 10:57 ------- Subject: Re: Option -I and POSIX conformance (c99 utility)
On Mon, 15 Jun 2009, vincent at vinc17 dot org wrote: > This may be true for standard headers, but system directories don't contain > only standard headers: in practice, they generally also contain additional > libraries. And for instance, a -I/usr/include can be useful to override > headers/libraries installed in /usr/local/{include,lib}. If you have modified the implementation (by putting headers/libraries in standard directories where those headers/libraries were not provided by the implementation in those versions in those directories, for example), you are very definitely outside the scope of POSIX. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40442