[Bug c++/61038] g++ -E is unusable with UDL strings

b.r.longbons at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon May 12 21:32:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61038

--- Comment #8 from Ben Longbons <b.r.longbons at gmail dot com> ---
(In reply to Ed Smith-Rowland from comment #7)
> Note to self: you DO need to take care of char...

What about multi-char constants, or are they not permitted in C++ UDLs?
Normally they get converted to int, so they're not *meaningful*, but ...

Also, remember the different prefixes: L for wchar_t, u8 for char-but-utf8, u
for char16_t, and U for char32_t

unsigned int fourcc = 'ABCD';



More information about the Gcc-bugs mailing list