libstdc++/8652: wstring::c_str() not work
ejoy@peoplemail.com.cn
ejoy@peoplemail.com.cn
Tue Nov 19 23:47:00 GMT 2002
>Number: 8652
>Category: libstdc++
>Synopsis: wstring::c_str() not work
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 19 19:06:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Zhang Le
>Release: gcc 3.2
>Organization:
>Environment:
Linux rh7.3
>Description:
wstring::c_str() cause a compiler error
because current implementation try to return a
"" instead of L"" to wchar_t*.
>How-To-Repeat:
wstring ws;
wchar_t* str = ws.c_str();
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list