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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-10-21
     Ever confirmed|0                           |1

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonny Grant from comment #0)
> Bug 60591 added -Wenum-conversion for C

I think you mean Bug 78736, and the C option doesn't warn for your testcase. It
warns for conversions from one enumeration type to another enumeration type,
which is already ill-formed in C++. Adding a warning for something that doesn't
compile anyway is useless.

Please clarify exactly what you're asking for.

Reply via email to