https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92158
Jonathan Wakely changed:
What|Removed |Added
Status|WAITING |NEW
--- Comment #5 from Jonathan Wakel
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92158
--- Comment #4 from Jonny Grant ---
Hello
Implicit conversion can introduce bugs. I would like to detect implicit enum
conversions to other types in C and C++. How about just adding the C++ warnings
first to match clang in example below?
The fo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92158
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92158
--- Comment #2 from Jonathan Wakely ---
At least when the sign doesn't change, i.e. for conversion to int.
Please clarify what exactly you want a warning to do.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92158
--- Comment #1 from Jonathan Wakely ---
Converting to integral types is a feature of enums, I see no reason to warn.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92158
Richard Biener changed:
What|Removed |Added
Keywords||diagnostic
Version|unknown