This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/8652: wstring::c_str() not work
- From: paolo at gcc dot gnu dot org
- To: ejoy at peoplemail dot com dot cn, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 20 Nov 2002 12:39:45 -0000
- Subject: Re: libstdc++/8652: wstring::c_str() not work
- Reply-to: paolo at gcc dot gnu dot org, ejoy at peoplemail dot com dot cn, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: wstring::c_str() not work
State-Changed-From-To: open->feedback
State-Changed-By: paolo
State-Changed-When: Wed Nov 20 04:39:44 2002
State-Changed-Why:
Could you possibly post the actual compiler error?
I get, *correctly*, for wstring and string respectively:
"invalid conversion from `const wchar_t*' to `wchar_t*'"
and
"invalid conversion from `const char*' to `char*'"
Thanks, Paolo.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8652