This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Cygwin testsuite regressions: -dirafter and system files
- To: gcc-gnats at gcc dot gnu dot org, cygwin at cygwin dot com
- Subject: Re: Cygwin testsuite regressions: -dirafter and system files
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Thu, 1 Mar 2001 22:52:12 -0500
- References: <20010302031339.21858.qmail@sourceware.cygnus.com>
- Reply-To: cygwin at cygwin dot com
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