This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -I/usr/include (was: fixinc...)
- To: <gcc at gcc dot gnu dot org>
- Subject: Re: -I/usr/include (was: fixinc...)
- From: "Vladimir A Merzliakov" <wanderer at rsu dot ru>
- Date: Wed, 20 Jun 2001 15:10:46 +0400
- References: <20010619173748.B5679@stanford.edu>
> 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