This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

Re: c++/5997: CPLUS_INCLUDE_PATH not working properly


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.


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