From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1334 invoked by alias); 18 Mar 2002 19:36:10 -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 1280 invoked by uid 71); 18 Mar 2002 19:36:04 -0000 Date: Mon, 18 Mar 2002 11:36:00 -0000 Message-ID: <20020318193604.1273.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/msg00672.txt.bz2 List-Id: The following reply was made to PR c++/5997; it has been noted by GNATS. From: Neil Booth To: Zack Weinberg Cc: jbakker@rssd.esa.int, 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 19:33:17 +0000 Zack Weinberg wrote:- > On Mon, Mar 18, 2002 at 06:25:00PM +0000, Neil Booth wrote: > > > > 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. > > I'm not seeing any problem at all... could you please tell me what's > going wrong in your environment? > > ~/f $ CPLUS_INCLUDE_PATH=`pwd`/include g++ -c -H main.cc ; echo $? > /home/zack/f/include/foo.h > 0 > ~/f $ CPLUS_INCLUDE_PATH=`pwd`/include g++-3.0 -c -H main.cc ; echo $? > . /home/zack/f/include/foo.h > 0 > ~/f $ CPLUS_INCLUDE_PATH=`pwd`/include ~/src/gcc/b/vanilla/gcc/g++ \ > -B ~/src/gcc/b/vanilla/gcc/ -H -c main.cc ; echo $? > . /home/zack/f/include/foo.h > 0 You're quite right - I'd not tested the PR, assuming it must be right. I just looked for when the last time this area of code was changed. I can't reproduce it either. jbakker, can you elaborate on what problem you're seeing? Neil.