[Bug c++/12277] Warn on dynamic casts with known NULL results.
bangerth at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Jul 6 20:56:00 GMT 2009
------- Comment #6 from bangerth at gmail dot com 2009-07-06 20:56 -------
(In reply to comment #3)
I had to stare at the testcase in comment #3 for a little while and thought
others may have to as well: it fails because the inheritance from Base is
*private*, not because the dynamically created object is not derived a Derived
object at all.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12277
More information about the Gcc-bugs
mailing list