[Bug c++/51242] [C++11] Unable to use strongly typed enums as bit fields

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Mon Nov 26 13:00:00 GMT 2012


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

--- Comment #20 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-11-26 13:00:08 UTC ---
Well, then we should double check whether it warns at all when bitfields are
not involved, because I don't see anything bitfield-specific about the warning.
Maybe it just warns less for these narrowing issues with scoped and unscoped
enums?



More information about the Gcc-bugs mailing list