[Bug c++/87292] Warnings with Bit Fields

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 13 10:13:00 GMT 2018


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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> I think the second is correct but I dont know the exact rules about enum
> classes; are they unsigned by default?

No, the default underlying type is 'int'


More information about the Gcc-bugs mailing list