Quoting Mathias Fröhlich :

>
> Jon,
>
> I cannot reproduce this.
> It just works for me with a plain cvs checkout
> using that scenry tile from Scenery-0.9.8.
>
> On Freitag 18 Februar 2005 01:24, Jon Stockill wrote:
> > (gdb) bt
> > #0  0x0ce8b760 in ?? ()
> > #1  0x40142974 in __dynamic_cast (from=0xce8b760,
> >      to=0x8548f9c <typeinfo for ssgBase>, require_public=139557448,
> >      address=0x0, sub=0xbfffee80, subptr=0xbfffee8b)
> >      at ../../gcc-2.95.3/gcc/cp/tinfo2.cc:282
> > #2  0x081241cc in FGGroundCache::get_agl ()
>
> From that backtrace:
> There is exactly one dynamic_cast in this function.
> In theory it should never happen that the argument to that dynamic_cast is
> zero.
>
> Since I cannot reproduce it myself, can you help me?
> Could you please apply the attached patch and tell me of some of thouse new
> cerr output lines triggers?

I don't know if it is true for gcc, but with MSVC, rtti needs to be activated
with a specific compile-time option otherwise the result is unpredictable.

-Fred

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to