This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/5997: CPLUS_INCLUDE_PATH not working properly
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: jbakker at rssd dot esa dot int, Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Mar 2002 18:25:00 +0000
- Subject: Re: c++/5997: CPLUS_INCLUDE_PATH not working properly
- References: <20020318160635.17241.qmail@sources.redhat.com>
jbakker@rssd.esa.int wrote:-
> >Description:
> With the introduction of GCC 3, usage of CPLUS_INCLUDE_PATH seems to be valid for C-headers only.
>
>
> Is this ever repaired?
> >How-To-Repeat:
> tar xzf foo.tgz
> CPLUS_INCLUDE_PATH=`pwd`/include c++ -c main.cc ; echo $?
> >Fix:
> Workaround: c++ -c -Iinclude main.cc
Zack,
I *think* this goes back 3 years (before my time!) to your change to
cppinit.c 1.5 -> 1.6. Would you have a look at it? We used to put
the paths in the env var before the default paths. Now we do something
that is a little different I think.
Neil.