From: Jan K. <jn...@mp...> - 2002-12-18 09:47:06
|
Hi, I've recently had that problem when switching to GCC3.2 (from 2.95). I assumed that by default RTTI is turned on, but it wasn't. I had to add the -frtti option. Then dynamic casts worked again... - Jan Dirk Reiners wrote: > Hi Gabe, > > On Tue, 2002-12-17 at 23:24, Gabriel Zachmann wrote: > > >Well, I rushed to conclusions a bit. > > > >It is not really the upgrade from RedHat 7.2 to 7.3, > >but the upgrade from OpenSG 1.0 to 1.1.0 that caused my troubles! > > > >So, the conclusion is: > > > >1. My program linked together with OpenSG 1.1.0 gives a seg fault > > at the first call of dynamic_cast<>() on *any* platform / compiler > > (RedHat 7.2, 7.3, 8.0, gcc 3.0.4, gcc 3.2). > > > >2. My program with OpenSG 1.0 works fine under RedHat 7.2 / gcc 3.0.4, > > and it works under RedHat 7.3 / gcc 3.0.4 *and* my own libGLU.so > > and libglut.so. > > (It does not work under RedHat 7.3 with libGLU.so and libglut.so that > > come with the system). > > > could you try to boil that down to a little test program and send it to > us, so that we can try to reproduce it here? I can't see how we could > screw up the standard dynamic_cast mechanism, but I need to see. Or > rather I need Gerrit to see it. ;) > > Thanks > > Dirk > > P.S.: See you on Friday. ;) -- Jan Kautz, Max-Planck-Institut fuer Informatik Stuhlsatzenhausweg 85, 66123 Saarbruecken, Germany Phone +49 681 9325-427 Fax +49 681 9325-499 ka...@mp... |