This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51242] [C++11] Unable to use strongly typed enums as bit fields
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 26 Nov 2012 13:00:08 +0000
- Subject: [Bug c++/51242] [C++11] Unable to use strongly typed enums as bit fields
- Auto-submitted: auto-generated
- References: <bug-51242-4@http.gcc.gnu.org/bugzilla/>
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?