[Bug debug/57939] incorrect debug info of wchar_t
tromey at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 25 18:21:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57939
Tom Tromey <tromey at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2014-06-25
CC| |tromey at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Tom Tromey <tromey at gcc dot gnu.org> ---
I tried this on x86-64 Fedora 20, using the system g++,
and it worked fine for me. Could you say what platform
you are on?
(gdb) p L
$1 = 98 L'b'
Note that this result is dependent on the gdb version; and
also your host platform, because gdb's wchar_t support
is heavily host-dependent.
Finally, I believe that according to the C++ standard it is fine
for wchar_t to be signed.
More information about the Gcc-bugs
mailing list