From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11264 invoked by alias); 18 Mar 2002 18:26:07 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 11237 invoked by uid 71); 18 Mar 2002 18:26:05 -0000 Date: Mon, 18 Mar 2002 10:26:00 -0000 Message-ID: <20020318182604.11234.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Neil Booth Subject: Re: c++/5997: CPLUS_INCLUDE_PATH not working properly Reply-To: Neil Booth X-SW-Source: 2002-03/txt/msg00667.txt.bz2 List-Id: The following reply was made to PR c++/5997; it has been noted by GNATS. From: Neil Booth To: jbakker@rssd.esa.int, Zack Weinberg Cc: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org Subject: Re: c++/5997: CPLUS_INCLUDE_PATH not working properly Date: Mon, 18 Mar 2002 18:25:00 +0000 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.