This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28275] Error compiling template class containing dynamic_cast<> with -fno-rtti
- From: "apl at alum dot mit dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jul 2006 19:16:48 -0000
- Subject: [Bug c++/28275] Error compiling template class containing dynamic_cast<> with -fno-rtti
- References: <bug-28275-4387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from apl at alum dot mit dot edu 2006-07-05 19:16 -------
Ideally, this should not produce an error UNLESS you invoke
derived<T>::upcast()
from within a compilation unit under the influence of -fno-rtti
--
apl at alum dot mit dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |10891
Summary|Error compiling template |Error compiling template
|class containing |class containing
|dynamic_cast<> with -fno- |dynamic_cast<> with -fno-
|rtti |rtti
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28275