diff options
author | Christopher Faylor <cgf@cygnus.com> | 2001-03-02 17:20:30 +0000 |
---|---|---|
committer | Christopher Faylor <cgf@gcc.gnu.org> | 2001-03-02 17:20:30 +0000 |
commit | 4737b2745a4952bbc7273efa888a93b25f028c11 (patch) | |
tree | cbb851efb96c83db7be8a7a55039d79b0ba97697 /gcc/cppinit.c | |
parent | 758c46c9f55cab48262a3467f8d2094911d6af5e (diff) | |
download | gcc-4737b2745a4952bbc7273efa888a93b25f028c11.zip gcc-4737b2745a4952bbc7273efa888a93b25f028c11.tar.gz gcc-4737b2745a4952bbc7273efa888a93b25f028c11.tar.bz2 |
cppinit.c (append_include_chain): Mark "after" include file name list as a system directory.
* cppinit.c (append_include_chain): Mark "after" include file name list as a
system directory.
* cpp.texi: Document new behavior.
From-SVN: r40189
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 0406e62..61f72b4 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -237,7 +237,10 @@ append_include_chain (pfile, dir, path, cxx_aware) new->len = len; new->ino = st.st_ino; new->dev = st.st_dev; - if (path == SYSTEM) + /* Both systm and after include file lists should be treated as system + 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 |