------- Comment #1 from rguenth at gcc dot gnu dot org 2010-09-09 09:47 ------- 4.5 prints
t.C:2:13: error: 'A::A' has the same name as the class in which it is declared 3.4 t.C:2: error: `enum A::A' has the same name as the class in which it is declared which is nicest. 4.0 to 4.4 exhibit the behavior as described in this bug. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Known to work| |3.4.6 4.5.1 4.6.0 Last reconfirmed|0000-00-00 00:00:00 |2010-09-09 09:47:36 date| | Summary|Inappropriate error message |[4.3/4.4 Regression] | |Confusing error message Target Milestone|--- |4.4.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45607