This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: wchar_t errors on setting MBCS option
- To: cygwin at cygwin dot com
- Subject: Re: wchar_t errors on setting MBCS option
- From: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Date: Sun, 20 May 2001 08:35:44 +1000 (EST)
--- Bhupi <bhupinder_singh@hotmail.com> wrote: > 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?
>
Use gcc rather than soemone else's compiler. Those are not gcc error messages.
_____________________________________________________________________________
http://messenger.yahoo.com.au - Yahoo! Messenger
- Voice chat, mail alerts, stock quotes and favourite news and lots more!
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple