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.