On 6 Nov 2011, at 09:16, Olaf Flebbe wrote: > I see an endless recursion on MacOSX 10.7 (Lion) with current osg svn ac3d > loader in calls to cosf() and sinf(). There is an not anymore usefull > definition of cosf(x) for __APPLE__ in "osg/Math" . osgviewer coredumps for > me on this platform for 32Bit. > > I double checked MacOSX 10.6 and the cosf definition should not present on > this platform, either. > > Find attached a fixed inlude/osg/Math
Just to add, I discussed this issue on the main list a few weeks(?) ago, but didn't submit an actual patch, but this looks perfect to me. As I said at the time, certainly 10.6 and maybe even earlier don't need the __APPLE__ section in osg/Math Regards, James _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
