Erik Hofman wrote: > Update of /var/cvs/SimGear-0.3/SimGear/simgear/sound > In directory baron:/tmp/cvs-serv16290
> Modified Files: > soundmgr_openal.cxx xmlsound.cxx > Log Message: > Melchior FRANZ: > > At last I've found the reason why fgfs crashed routinely for me. When I still > used KDE's artsdsp (preloads lib with OSS replacement functions) I saw > this crash only occasionally. After letting OpenAl communicate with artsd > directly (by means of ~/.openalrc setting), I got the crash always when > I left fgfs. I'm not sure if this was a really clever fix ;-) At least it breaks the build on FreeBSD-5.3: g++ -march=pentiumpro -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../.. -I/usr/local/include -I/usr/X11R6/include -O3 -lpthread -D_REENTRANT -c -o soundmgr_openal.o soundmgr_openal.cxx In file included from /usr/include/c++/3.4/cmath:52, from ../../simgear/math/point3d.hxx:48, from ../../simgear/math/sg_types.hxx:42, from ../../simgear/misc/sg_path.hxx:36, from soundmgr_openal.cxx:56: soundmgr_openal.cxx:50: error: previous declaration of `int isnan(double)' with C++ linkage /usr/include/math.h:266: error: conflicts with new declaration with C linkage *** Error code 1 Stop in /usr/local/src/SimGear/simgear/sound. Things are fine after reverting these two patches. Cheers, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -------------------------------------------------------------------------- _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d