https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92159
Jonathan Wakely changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92159
--- Comment #4 from Jonny Grant ---
My apologies, I tested with the correct test case and it already does not
compile in C++ as desired, so no -Wenum-conversion required.
#include
typedef enum {brandon, jon, mitch} name_t;
typedef enum
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92159
--- Comment #3 from Jonathan Wakely ---
This doesn't seem to warn with Clang or Clang++ either.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92159
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92159
--- Comment #1 from Jonathan Wakely ---
Your testcase doesn't warn for C.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92159
Richard Biener changed:
What|Removed |Added
Keywords||diagnostic
Version|unknown