This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -I/usr/include (was: fixinc...)


> On Mon, Jun 18, 2001 at 11:35:06AM -0700, Russ Allbery wrote:
> It would be easy to cause cpplib to ignore -I/usr/include (actually,
> -I <STANDARD_INCLUDE_DIR> and maybe also -I <SYSTEM_INCLUDE_DIR> --
> see cppdefault.c).
> 
> I hesitate to do that, though.  It is not in keeping with the
> principle that the compiler should not second-guess the user.  There
> may be an exotic but legitimate use for -I/usr/include.
> 
> zw
> 
May be GCC can generate warrning at finding -I<STANDARD_INCLUDE_DIR> 
and -I<SYSTEM_INCLUDE_DIR>?

Vladimir




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]