c++/5997: CPLUS_INCLUDE_PATH not working properly
Neil Booth
neil@daikokuya.demon.co.uk
Mon Mar 18 10:32:00 GMT 2002
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.
More information about the Gcc-bugs
mailing list