Results for 2.97 20010212 (experimental) testsuite on i686-pc -cyg win
DJ Delorie
dj@redhat.com
Wed Feb 28 17:12:00 GMT 2001
> Then I don't think using an -isystem is correct either. This will cause
> the include order to be:
>
> /usr/local/include
> /usr/include
> /usr/lib/gcc-lib/i686-pc-cygwin/2.97/include
>
> rather than
>
> /usr/local/include
> /usr/lib/gcc-lib/i686-pc-cygwin/2.97/include
> /usr/include
>
> The intent of most of my recent changes to cygwin.h has been to make
> gcc search the right directories when given options like -mno-cygwin
> or -mno-win32. In the -mno-cygwin case we never want to search
> /usr/include, so it can't just be a STANDARD_INCLUDE_DIR.
You should be able to do that with specs, but you'd still need to use
-isystem to handle the warnings. Or add -isystemafter.
More information about the Gcc-bugs
mailing list