[Bug c++/67016] Redeclaration of enum

2021-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67016 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/67016] Redeclaration of enum

2015-07-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67016 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org --- Looks like this changed between c++11 and c++98. Note you are quoting c++11 but compiling with c++98. Also this is a big incompatibility with c99 and a surprising one too.

[Bug c++/67016] Redeclaration of enum

2015-07-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67016 --- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org --- EDG also gives no diagnostic and Clang says it's a GNU extension.

[Bug c++/67016] Redeclaration of enum

2015-07-26 Thread anders.granlund.0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67016 --- Comment #2 from Anders Granlund anders.granlund.0 at gmail dot com --- (In reply to Andrew Pinski from comment #1) Looks like this changed between c++11 and c++98. Note you are quoting c++11 but compiling with c++98. Also this is a

[Bug c++/67016] Redeclaration of enum

2015-07-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67016 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords||accepts-invalid