This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32282] New: dynamic_cast compiles where static_cast fails
- From: "Woebbeking at web dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2007 11:06:06 -0000
- Subject: [Bug c++/32282] New: dynamic_cast compiles where static_cast fails
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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