On Fri, 17 Sep 2010, Ming Q wrote:

> I saw the same problem of dynamic casting. I have to work around by using GNU 
> compiler instead.

One stupid question and one serious one, for everybody:

Is there any place in XCode where they're turning on -fno-rtti by
default, and if so can that be user-disabled?

Should we go through the library and change the rest of our
dynamic_cast operations to libmesh_cast_*?  Those become unchecked
static_casts in non-debugging modes, which might work around the XCode
problem.  We currently use and test dynamic casts even in opt mode in
situations like EquationSystems::get_system(), because users might
call that method and we want to catch their bugs... but there are lots
of places where we only check for user bugs in debug/devel modes; this
could be another.
---
Roy

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to