This is the mail archive of the
mailing list for the GCC project.
Re: Results for 2.97 20010212 (experimental) testsuite on i686-pc -cyg win
On Wed, Feb 28, 2001 at 08:11:14PM -0800, Geoff Keating wrote:
>DJ Delorie <email@example.com> writes:
>> You should be able to do that with specs, but you'd still need to use
>> -isystem to handle the warnings. Or add -isystemafter.
>I believe that when we had a similar discussion internally to Red Hat,
>in the context of the host X host patches, we decided that it was
>probably a bug that -idirafter did not consider its headers to be
Would this fix the problem then?
RCS file: /cvs/uberbaum/gcc/cppinit.c,v
retrieving revision 1.150
diff -u -p -r1.150 cppinit.c
--- cppinit.c 2001/02/25 09:43:02 1.150
+++ cppinit.c 2001/03/01 04:24:22
@@ -236,7 +236,7 @@ append_include_chain (pfile, dir, path,
new->nlen = len;
new->ino = st.st_ino;
new->dev = st.st_dev;
- if (path == SYSTEM)
+ if (path == SYSTEM || path == AFTER)
new->sysp = 1;