This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Enhancement patch for cpp
- To: Zack Weinberg <zack at rabi dot columbia dot edu>
- Subject: Re: Enhancement patch for cpp
- From: Dave Brolley <brolley at cygnus dot com>
- Date: Mon, 18 Jan 1999 10:31:07 -0500
- CC: egcs-patches at cygnus dot com
- Organization: Cygnus Solutions Canada Ltd
- References: <199901171645.LAA16331@blastula.phys.columbia.edu>
Zack Weinberg wrote:
> >> 1999-01-15 Ben Elliston <bje@cygnus.com>
> >>
> >> * cppfiles.c (append_include_chain): Emit a warning if the
> >> directory specified in a -I flag does not exist.
> >>
> >> * cccp.c (new_include_prefix): Likewise.
>
> 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.
Well, it's not too late....I haven't installed the patch yet. Zack's
point is a good one. Perhaps the warning should be limited to paths
specified using compile time options.
Dave