[Bug c++/92158] Enum warning when -1 enum converted to unsigned int

jg at jguk dot org gcc-bugzilla@gcc.gnu.org
Fri Oct 25 11:46:00 GMT 2019


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

--- Comment #7 from Jonny Grant <jg at jguk dot org> ---

> 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.


More information about the Gcc-bugs mailing list