This is the mail archive of the gcc-patches@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: Enhancement patch for cpp


zack@rabi.columbia.edu (Zack Weinberg) writes:

> I'm not sure about this patch.  Ignoring nonexistent directories is
> done because the default include path has several dirs on it that
> often don't exist, such as /usr/local/include and
> /usr/cpu-company-system/include.  They are processed through the same
> function, and warning about them would be confusing.

And even more: if you compile, e.g., programs which use X11 and they
are not correctly using imake or autoconf, the commandline often looks
like

	-I/usr/X11/include -I/usr/X11R5/include -I/usr/X11R6/include

This is to make sure the different places to install X11 are found.
Suddenly these compilations trigger warnings.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


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