wstring support in Cygwin with GCC 4.1.2

View: New views
1 Messages — Rating Filter:   Alert me  

wstring support in Cygwin with GCC 4.1.2

by jadooo :: Rate this Message:

| View Threaded | Show Only this Message

Hi Everybody,

I was trying to compile a simple application which uses wstring in Cygwin 1.5.25-11, but it fails
to recognize wstring.

After analysis i feel that either we need to build GCC with some spcial flags or to do some patch
in the GCC files inorder to define the macro _GLIBCXX_USE_WCHAR_T.

Please guide me on how to get ahead from this error.

Thanks & Regards
Vipin