Re: [Libmesh-devel] Problem with XCode 3.2.3

2010-09-17 Thread Derek Gaston
On Fri, Sep 17, 2010 at 9:14 AM, Paul T. Bauman wrote: > On Fri, Sep 17, 2010 at 10:09 AM, Derek Gaston wrote: > >> >> We shouldn't have to change any valid code just because Apple has a bug in >> their compilers. >> > > For giggles, have you tried building newer versions of gcc to see if this >

Re: [Libmesh-devel] Problem with XCode 3.2.3

2010-09-17 Thread Roy Stogner
On Fri, 17 Sep 2010, Derek Gaston wrote: "Fixing" libmesh shouldn't be our concern here.  We HAVE to be able to reliably dynamic cast.  If the compiler isn't going to give that to us that's a non-starter. Okay - if this isn't a sufficient workaround for you then I won't bother changing it in

Re: [Libmesh-devel] Problem with XCode 3.2.3

2010-09-17 Thread Paul T. Bauman
On Fri, Sep 17, 2010 at 10:09 AM, Derek Gaston wrote: > > We shouldn't have to change any valid code just because Apple has a bug in > their compilers. > For giggles, have you tried building newer versions of gcc to see if this problem is still there?

Re: [Libmesh-devel] Problem with XCode 3.2.3

2010-09-17 Thread Roy Stogner
On Fri, 17 Sep 2010, John Peterson wrote: > On Fri, Sep 17, 2010 at 9:58 AM, Roy Stogner 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,

Re: [Libmesh-devel] Problem with XCode 3.2.3

2010-09-17 Thread Derek Gaston
On Fri, Sep 17, 2010 at 9:03 AM, John Peterson < peter...@cfdlab.ae.utexas.edu> wrote: > 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, >

Re: [Libmesh-devel] Problem with XCode 3.2.3

2010-09-17 Thread Cody Permann
I agree, don't change anything - I think I'll send these issues to our Apple reps to see if we can get some answers here. This is an important issue that should be resolved by the vendor. Cody On Sep 17, 2010, at 9:03 AM, John Peterson wrote: > On Fri, Sep 17, 2010 at 9:58 AM, Roy Stogner wro

Re: [Libmesh-devel] Problem with XCode 3.2.3

2010-09-17 Thread John Peterson
On Fri, Sep 17, 2010 at 9:58 AM, Roy Stogner 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 th

Re: [Libmesh-devel] Problem with XCode 3.2.3

2010-09-17 Thread Roy Stogner
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-

Re: [Libmesh-devel] Problem with XCode 3.2.3

2010-09-17 Thread Ming Q
Hi Derek, I saw the same problem of dynamic casting. I have to work around by using GNU compiler instead. / Ming Q. On Sep 17, 2010, at 4:22 PM, Derek Gaston wrote: > Has anyone around here been able to successfully use libMesh with XCode 3.2.3 > on OSX? > > We've held off from upgrading to

Re: [Libmesh-devel] Problem with XCode 3.2.3

2010-09-17 Thread Derek Gaston
Ok - another data point here... if I build with --disable-shared ex13 runs ok in debug mode... but I do still get printing weirdness like this: # Mesh Information: mesh_dimension()= EquationSystems n_systems()= # Going to upgrade to 3.2.4 now Derek On Fri, Sep 17, 2010