[Bug c++/59873] The value of char32_t U'\u0000' and char16_t u'\u000' is 1, instead of 0.

wjl at icecavern dot net gcc-bugzilla@gcc.gnu.org
Mon Jan 20 00:16:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59873

--- Comment #8 from Wesley J. Landaker <wjl at icecavern dot net> ---
Just as an additional point, L'\u0000' also yields a wchar_t with the value of
1. (If that is an illegal construct, it is not warned about when using -Wall
-Wextra -Werror).



More information about the Gcc-bugs mailing list