This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/28275] New: Error compiling template class containing dynamic_cast<> with -fno-rtti


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]