c++/5997: CPLUS_INCLUDE_PATH not working properly
Neil Booth
neil@daikokuya.demon.co.uk
Tue Mar 19 11:46:00 GMT 2002
The following reply was made to PR c++/5997; it has been noted by GNATS.
From: Neil Booth <neil@daikokuya.demon.co.uk>
To: Zack Weinberg <zack@codesourcery.com>
Cc: Jorgo Bakker <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: Tue, 19 Mar 2002 19:41:07 +0000
Zack Weinberg wrote:-
> It is reading the header file you asked it to, but interpreting that
> file as a "system header" - and on sparc-sun-solaris2.x, "system
> headers" get treated as wrapped in an implicit extern "C".
In that case, would the environment variable that is now documented
in 3.1 and 3.2, "CPATH", work instead? GCC has supported it for a long
time, it just hasn't been documented. It treats its path components as
if specified with -I.
http://gcc.gnu.org/onlinedocs/cpp/Environment-Variables.html
Neil.
More information about the Gcc-prs
mailing list