A template class containing any use of dynamic_cast<> results in an error
GenericDigraph.h:95: error: 'dynamic_cast' not permitted with -fno-rtti even when the template is not instantiated! -- Summary: Error compiling template class containing dynamic_cast<> with -fno-rtti Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: apl at alum dot mit dot edu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28275