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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org
            Summary|Enum warning when -1 enum   |Missed -Wsign-conversion in
                   |converted to unsigned int   |C++ when -1 enum converted
                   |                            |to unsigned int

--- Comment #9 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonny Grant from comment #7)
>  
> > Would it be better if I re-file this ticket as implement -Wsign-conversion
> > for C++ ?
> 
> I mean expand -Wsign-conversion for C++ to detect the enum conversion that
> the same option does for C code.

(In reply to Jonathan Wakely from comment #8)
> No, there's no need for a new bug.

Retitling this one then.

Reply via email to