Hi,

this happens if you cast to an unrelated class. Could you at least give a
warning.


Cheers,
André


-- 
           Summary: dynamic_cast compiles where static_cast fails
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Woebbeking at web dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32282

Reply via email to