ARGH pthreads tests failing?

Christopher Faylor
Thu Jan 23 16:32:00 GMT 2003

On Thu, Jan 23, 2003 at 08:50:03AM +0100, Thomas Pfaff wrote:
>On Wed, 22 Jan 2003, Christopher Faylor wrote:
>> On Wed, Jan 22, 2003 at 10:53:19AM +0100, Thomas Pfaff wrote:
>> >I can only guess here but it might be that the wrong pthread.h is
>> >included in your tests. I remember some mails about -include does not
>> >behave properly with gcc-3, it will always take the headers from
>> >/usr/include first.
>> How about a patch, then?
>You might recall a thread in cygwin developer named "Source snapshot fails
>to build" (
>where the -isystem problem first appeared and
>"[Bug: gcc-3.2-1] Cygwin DLL (CVS HEAD) build failure - gcc uses wrong
>include path order"

You may recall a release announcement for gcc-3.2-3 which indicated that
-nostdinc now works.  This was what was causing the problem and IIRC
I got notification from people like Corinna indicating that this release
fixed the problem.  It was one of the motivations for the 3.2-3 release.

>I do have these problems too (gcc is gcc-3.2-3) where w32api headers are
>alway included from /usr/include/w32api instead of w32api in the source
>Unfortunately i have not the time to fix this, IMHO this is a gcc bug, not

It's not a gcc bug.  I've just verified that -nostdinc does not load
the w32api headers and that -I works correctly.


More information about the Cygwin-developers mailing list