Cygwin testsuite regressions: -dirafter and system files

Christopher Faylor cgf@redhat.com
Thu Mar 1 19:53:00 GMT 2001


On Fri, Mar 02, 2001 at 03:13:39AM -0000, David.Billinghurst@riotinto.com wrote:
>The errors occur because /usr/include/sys/types.h is not treated as
>system header.  To be treated as a system header /usr/include must be
>referenced in the specs using -isystem /usr/include, but it is
>referenced using -dirafter /usr/include.
>
>>How-To-Repeat:
>
>>Fix:
>There are at least two fixes.  
>
>1.  Treat paths given with -dirafter as system files, see
> http://gcc.gnu.org/ml/gcc-patches/2001-02/msg01742.html .  I can confirm
>this bootstraps and fixes the regressions.  This change is relatively
>safe, as only a couple of targets use -idirafter.

Yeah, and if someone approves my patch, I'll check it in.  I think it is
the correct fix.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list