From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11601 invoked by alias); 18 Mar 2002 19:16:09 -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 11565 invoked by uid 71); 18 Mar 2002 19:16:04 -0000 Date: Mon, 18 Mar 2002 11:16:00 -0000 Message-ID: <20020318191604.11564.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Zack Weinberg Subject: Re: c++/5997: CPLUS_INCLUDE_PATH not working properly Reply-To: Zack Weinberg X-SW-Source: 2002-03/txt/msg00669.txt.bz2 List-Id: The following reply was made to PR c++/5997; it has been noted by GNATS. From: Zack Weinberg To: Neil Booth 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 11:08:42 -0800 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 zw