[Bug c++/68897] No option to disable just "warning: enumeral and non-enumeral type in conditional expression"
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 17 04:32:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68897
--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #2)
> (In reply to Manuel López-Ibáñez from comment #1)
> > You just need to come up with a good name and implement a patch like the
> > ones shown in PR7651. Finding a good name is probably the hardest part. :)
> >
> >
> > See also https://gcc.gnu.org/ml/gcc/2007-01/msg00391.html
>
> From that thread, it seems like the agreement was to put it under
> -Wconversion:
> https://gcc.gnu.org/ml/gcc/2007-01/msg00437.html
...or maybe -Wenum-conversion would make sense, now that we have that...
More information about the Gcc-bugs
mailing list