This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++/8652: wstring::c_str() not work


Synopsis: wstring::c_str() not work

State-Changed-From-To: feedback->closed
State-Changed-By: paolo
State-Changed-When: Wed Nov 20 23:49:32 2002
State-Changed-Why:
    User error. You may want to change your code as:
    const wchar_t* p;
    or
    p = const_cast<wchar_t*>(ws.c_str());
    Thanks for your report, Paolo.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8652


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]