Commit 463f1b2b by Neil Booth Committed by Neil Booth

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
parent 88fe2466
2002-08-18 Neil Booth <neil@daikokuya.co.uk>
PR preprocessor/7602
* cppinit.c (path_include): Treat the system environment
variables as being cxx_aware.
2002-08-17 Joseph S. Myers <jsm@polyomino.org.uk>
* c-decl.c (flexible_array_type_p): New function.
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment