* Jon Berndt -- Friday 01 July 2005 13:28: > There is a function or macro called sg_io_exception(). This exception gets > thrown in my > development version due to an as-yet unidentified problem with readXML(). > However, the > message that emanates from FlightGear is simply: > > "FlightGear aborting"
That's typically the case, if glut/sdl was compiled without exception support. But ... but ... those are C libs, and C has not exceptions. True, but the libs are sitting between fgfs's main() and the rest of fgfs, which they control via callbacks. So the libs need to know exception information for stack unwinding: For glut/gcc, this means configuring like so: $ ./configure CFLAGS="-fexceptions $CFLAGS" LDFLAGS="-fexceptions $LDFLAGS" m. _______________________________________________ Flightgear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
