[Bug c++/52761] [C++11] Missing diagnostic for opaque unscoped enum declaration without base

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52761 Andrew Pinski changed: What|Removed |Added CC||anders.granlund.0 at gmail dot com ---

[Bug c++/52761] [C++11] Missing diagnostic for opaque unscoped enum declaration without base

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52761 --- Comment #2 from Andrew Pinski --- clang declared this as a GNU extention :) :2:6: error: redeclaration of already-defined enum 'E' is a GNU extension [-Werror,-Wgnu-redeclared-enum] enum E; // illegal ^ :1:6: note: previous definition

[Bug c++/52761] [C++11] Missing diagnostic for opaque unscoped enum declaration without base

2012-04-13 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52761 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last