delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/10/23:20:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <8D00C32549556B4E977F81DBC24E985D1B1C24@crtsmail1.technol_exch.corp.riotinto.org>
From: "Billinghurst, David (CRTS)" <David DOT Billinghurst AT riotinto DOT com>
To: "'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
Date: Sat, 11 Aug 2001 03:20:11 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

This change satisifes the gcc testsuite.  I couldn't see the change in CVS,
so I edited the header directly.

> -----Original Message-----
> From:	Christopher Faylor [SMTP:cgf AT redhat DOT com]
> Sent:	Thursday, 9 August 2001 5:28
> To:	'gcc-bugs AT gcc DOT gnu DOT org'; 'cygwin AT cygwin DOT com'
> Cc:	Billinghurst, David (CRTS)
> Subject:	Re: gcc-3.1 test gcc.dg/wint_t-1.c fails on cygwin
> 
> 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
> >`wi_t_p' 
> >... /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
> >up
> >*	fix the cygwin wchar.h headers
> >
> >Any suggestions?
> 
> Sorry for the delay.
> 
> I've added a '#define __need_wint_t' to wchar.h.
> 
> Does that fix the problem by any chance?
> 
> cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019