https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87292
--- Comment #3 from Nuno Gonçalves <nunojpg at gmail dot com> --- Also to add, this could be suppressed if enum class Bool : bool{False=0, True=1}; So a better example is for a 2 bit BitField: enum class Nr : uint8_t{Zero=0, One=1, Two=2, Three=3}; struct{ Nr v:2; } b;