This is the mail archive of the
mailing list for the Cygwin project.
Re: gcc-3.1 test gcc.dg/wint_t-1.c fails on cygwin
- To: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>, "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Subject: Re: gcc-3.1 test gcc.dg/wint_t-1.c fails on cygwin
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Wed, 8 Aug 2001 15:27:42 -0400
- Cc: David dot Billinghurst at riotinto dot com
- References: <8D00C32549556B4E977F81DBC24E985D1B1BBC@crtsmail1.technol_exch.corp.riotinto.org>
- Reply-To: cygwin at cygwin dot com
On Fri, Jul 27, 2001 at 07:37:50AM -0000, Billinghurst, David (CRTS) wrote:
>gcc-3.1 test gcc.dg/wint_t-1.c fails on cygwin. The errors are:
>... /wint_t-1.c:11: parse error before '*' token
>... /wint_t-1.c:11: warning: type defaults to `int' in declaration of
>... /wint_t-1.c:11: warning: data definition has no type or storage class
>The problem is that wint_t isn't defined in the system headers, as is
>apparent in wint_t-1.i below.
>I guess there are three possible fixes:
>* XFAIL the test
>* define something so that the typedef in gcc's own stddef.h is picked
>* fix the cygwin wchar.h headers
Sorry for the delay.
I've added a '#define __need_wint_t' to wchar.h.
Does that fix the problem by any chance?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html