delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/19/12:06:39

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
X-Originating-IP: [203.197.212.133]
From: "Bhupi" <bhupinder_singh AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: wchar_t errors on setting MBCS option
Date: Sat, 19 May 2001 16:05:55 -0000
Mime-Version: 1.0
Message-ID: <F102Z11XUtMbcn9ZfjI000142fb@hotmail.com>
X-OriginalArrivalTime: 19 May 2001 16:05:55.0516 (UTC) FILETIME=[95CD2FC0:01C0E07D]

On compiling an existing application with GCC (2.95.3-4), I get the 
following types of errors:

D:\cygwin\usr\include\mingw\string.h(119) : error C2501: 'wcsncat' : missing 
storage-class or type specifiers
D:\cygwin\usr\include\mingw\string.h(120) : error C2059: syntax error : ','
D:\cygwin\usr\include\mingw\string.h(121) : error C2143: syntax error : 
missing';' before '*'
D:\cygwin\usr\include\mingw\string.h(121) : error C2501: 'wchar_t' : missing 
storage-class or type specifiers
D:\cygwin\usr\include\mingw\string.h(121) : error C2086: 'wchar_t' : 
redefinition
D:\cygwin\usr\include\mingw\string.h(121) : fatal error C1003: error count 
exceeds 100; stopping compilation

The compiler option is set to MBCS. Can someone guide how to eliminate these 
errors?

thanks,
bhupi
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


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

- Raw text -


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