seen with 4.2.4, 4.3.2 and trunk 20080904 g++ -c -mtune=generic -g foo.ii
In file included from utNativePackedCoDec.cc:5: ../../src/pers/RecBuf.hh: At global scope: ../../src/pers/RecBuf.hh: In instantiation of 'pers::RecBuf<pers::NativePackedCoDec, long unsigned int>': utNativePackedCoDec.cc:11: instantiated from here ../../src/pers/RecBuf.hh:76: error: 'typename pers::NativePackedCoDec::Type' names 'template<class T> struct pers::NativePackedCoDec::Type', which is not a type ../../src/pers/RecBuf.hh:76: error: overflow in enumeration values at 'STRING_SZ' ../../src/pers/RecBuf.hh:76: error: 'typename pers::NativePackedCoDec::Type' names 'template<class T> struct pers::NativePackedCoDec::Type', which is not a type ../../src/pers/RecBuf.hh:76: internal compiler error: tree check: expected integer_cst, have error_mark in build_enumerator, at cp/decl.c:11144 Please submit a full bug report, with preprocessed source if appropriate. -- Summary: expected integer_cst, have error_mark in build_enumerator Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: doko at ubuntu dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37389