problems with gcc3.2.3 and wstring

Sachin Zingade sachinz@dpsl.net
Thu Jul 10 12:48:00 GMT 2003


Hi,

i am working latest version of cygwin on WIN NT os, i had simple application
like

#include <string>
using namespace std
int main()
{
    wstring sname = L"Sachin";
    return 0;
}

i am having gcc 3.2.3 that comes with cygwin when i tried to compile it gave
the errors
wstring not defined i.e. undefined references to wchar_t

when i compile with gcc 2.95.3 it gave no errors but why it so with gcc
3.2.3

Plz help

Regards
Sachin Z

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list