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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Missing fixit for           |diagnostic for unknown type
                   |underlying enum type        |of the underlaying type of
                   |                            |an enum should be improved
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2025-07-31

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

It is even worse for:
```
enum class HA : uint32_t {};
```

Where is a warning which makes no sense first:
```
<source>:1:6: warning: elaborated-type-specifier for a scoped enum must not use
the 'class' keyword

```

Reply via email to