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]

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


>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:


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