On Fri, Sep 17, 2010 at 9:58 AM, Roy Stogner <[email protected]> wrote: > > > 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_*?
I don't think we should change all of them! There are cases in the numerics classes where the intent is to downcast to a more derived type, e.g. a PetscVector. You'd have to look at each case by hand, which sounds like a pain. -- John ------------------------------------------------------------------------------ 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
