From: Neil Booth Date: Sun, 18 Aug 2002 06:24:13 +0000 (+0000) Subject: re PR preprocessor/7602 (C++ header files found in CPLUS_INCLUDE_PATH treated as... X-Git-Tag: releases/gcc-3.2.1~375 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e0081f6216901e4afbd2197c2634c03c8916bcf;p=thirdparty%2Fgcc.git re PR preprocessor/7602 (C++ header files found in CPLUS_INCLUDE_PATH treated as C headers) PR preprocessor/7602 * cppinit.c (path_include): Treat the system environment variables as being cxx_aware. From-SVN: r56415 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b43dbdc322b..e52d4280ecb4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-08-18 Neil Booth + + PR preprocessor/7602 + * cppinit.c (path_include): Treat the system environment + variables as being cxx_aware. + 2002-08-16 David Edelsohn * collect2.c (is_ctor_dtor): Add other possible JOINER values. diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 4b4e7899dc17..adaa30f55c18 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -189,7 +189,7 @@ path_include (pfile, list, path) name[q - p] = 0; } - append_include_chain (pfile, name, path, 0); + append_include_chain (pfile, name, path, path == SYSTEM); /* Advance past this name. */ if (*q == 0)