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: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Nov 2012 11:47:20 +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 #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-11-19 11:47:20 UTC ---
(In reply to comment #4)
> Is this bug planned to be fixed in future?
Yes, of course. It's a bug.
> Can I help in any way to do that?
Sure, you could look in gcc/cp/*.c for the message
"bit-field .* with non-integral type"
and see what conditions it depends on and why it disallows scoped enumeration
types.