diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-31 22:57:55 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-31 22:57:55 +0000 |
commit | 3bef1ae898e534294ba7a9edef6783448aa1b7f6 (patch) | |
tree | 231c2597b85cf045fa258b57556e440e5015ec63 /gcc/cppinit.c | |
parent | 6c34d0c2c1cdfa7fa0ca97cfe50fffe256aa0dee (diff) | |
download | ppe42-gcc-3bef1ae898e534294ba7a9edef6783448aa1b7f6.tar.gz ppe42-gcc-3bef1ae898e534294ba7a9edef6783448aa1b7f6.zip |
* cppinit.c (append_include_chain): Always pay attention to
cxx_aware when setting new->sysp. Remove ATTRIBUTE_UNUSED
marker on argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54124 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 41842cb3832..2715fbac75e 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -207,7 +207,7 @@ append_include_chain (pfile, dir, path, cxx_aware) cpp_reader *pfile; char *dir; int path; - int cxx_aware ATTRIBUTE_UNUSED; + int cxx_aware; { struct cpp_pending *pend = CPP_OPTION (pfile, pending); struct search_path *new; @@ -252,11 +252,7 @@ append_include_chain (pfile, dir, path, cxx_aware) include files since these two lists are really just a concatenation of one "system" list. */ if (path == SYSTEM || path == AFTER) -#ifdef NO_IMPLICIT_EXTERN_C - new->sysp = 1; -#else new->sysp = cxx_aware ? 1 : 2; -#endif else new->sysp = 0; new->name_map = NULL; |