This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/57939] incorrect debug info of wchar_t
- From: "tromey at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 Jun 2014 18:21:38 +0000
- Subject: [Bug debug/57939] incorrect debug info of wchar_t
- Auto-submitted: auto-generated
- References: <bug-57939-4 at http dot gcc dot gnu dot org/bugzilla/>
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.