https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61469
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- You're confusing two separate things, that's a "scoped enumeration" which is orthogonal to defining a fixed underlying type for an enumeration.