This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]