diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2002-08-18 06:26:11 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-08-18 06:26:11 +0000 |
commit | 463f1b2b934f0caf97f6b1fa6709445c8e2c9418 (patch) | |
tree | c2cadccf8479ae4d3701c113537f759ed5d01bf6 /gcc/cppinit.c | |
parent | 88fe2466a0866da75f0e4fe2357a551db31d2ad6 (diff) | |
download | gcc-463f1b2b934f0caf97f6b1fa6709445c8e2c9418.zip gcc-463f1b2b934f0caf97f6b1fa6709445c8e2c9418.tar.gz gcc-463f1b2b934f0caf97f6b1fa6709445c8e2c9418.tar.bz2 |
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: r56416
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 5b3aab2..0c61086 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -178,7 +178,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) |