http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54545
Bug #: 54545 Summary: diagnostic overflow Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: igod...@pacbell.net This code: enum class d(a,b,c}; gets you this: s3:~/ootbc/personal/ivan$ g++ -std=c++0x foo.cc foo.cc:1:1: warning: elaborated-type-specifier for a scoped enum must not use the âclassâ keyword [enabled by default] foo.cc:1:12: error: use of enum âdâ without previous declaration foo.cc:1:15: error: expected â)â before â,â token foo.cc:1:17: error: invalid type in declaration before â,â token foo.cc:1:19: error: expected initializer before â}â token foo.cc:1:19: error: expected declaration before â}â token