[Bug c++/67777] unsigned wchar_t and signed wchar_t should cause compiler errors but do not.

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 30 09:00:00 GMT 2015


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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Trevor Hickey from comment #0)
> Why can we add signed/unsigned qualifiers to wchar_t?  

It produces a type of the same size but with the opposite signedness, like
std::make_signed/std::make_unsigned.



More information about the Gcc-bugs mailing list