https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414

--- Comment #3 from Tom Tromey <tromey at gcc dot gnu.org> ---
(In reply to Daniel Krügler from comment #2)
> (In reply to Tom Tromey from comment #1)
> > However, the bug still exists if the underlying type is not fixed:
> > 
> > enum class K {
> >   V = 27
> > };
> 
> This enum K also has a fixed underlying type (int). Contrary to unscoped
> enums, *all* scoped enums have a pre-defined underlying type that does not
> depend on the individual enumerators.

Hah, shows what I know.

Regardless, this warning does not seem to be useful to me.

Reply via email to