http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48935
Summary: Name lookup error at enum class Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: takechi101...@gmail.com I got the following error: gcc-enum-class-test.cxx:9:7: internal compiler error: in constructor_name_p, at cp/name-lookup.c:1862 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. compiling the attached code. I don't know much about c++0x but I think that should be an error.