This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/59873] The value of char32_t U'\u0000' and char16_t u'\u000' is 1, instead of 0.
- From: "wjl at icecavern dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 03 Mar 2014 04:50:09 +0000
- Subject: [Bug c++/59873] The value of char32_t U'\u0000' and char16_t u'\u000' is 1, instead of 0.
- Auto-submitted: auto-generated
- References: <bug-59873-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59873
--- Comment #10 from Wesley J. Landaker <wjl at icecavern dot net> ---
Created attachment 32248
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32248&action=edit
uffff.c++ -- program that shows this problem, and bug #60397's problem
I opened new bug #60397 that is a similar issue, but not the same problem. I've
attached a new program that more simply shows the problem just using
static_assert.