[Bug c++/68897] No option to disable just "warning: enumeral and non-enumeral type in conditional expression"

2019-10-16 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68897

--- Comment #3 from Eric Gallager  ---
(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...

[Bug c++/68897] No option to disable just "warning: enumeral and non-enumeral type in conditional expression"

2019-07-16 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68897

Eric Gallager  changed:

   What|Removed |Added

 CC||egallager at gcc dot gnu.org

--- Comment #2 from Eric Gallager  ---
(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

[Bug c++/68897] No option to disable just "warning: enumeral and non-enumeral type in conditional expression"

2015-12-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68897

Jonathan Wakely  changed:

   What|Removed |Added

   Keywords||diagnostic
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2015-12-14
 Ever confirmed|0   |1

[Bug c++/68897] No option to disable just "warning: enumeral and non-enumeral type in conditional expression"

2015-12-14 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68897

Manuel López-Ibáñez  changed:

   What|Removed |Added

 CC||manu at gcc dot gnu.org
 Blocks||7651

--- Comment #1 from Manuel López-Ibáñez  ---
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


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
[Bug 7651] Define -Wextra strictly in terms of other warning flags