Hi Jan, Thanks for the feedback. Could you try out some of the suggested workarounds? If you find one that works I can merge the change or come up with something else that might work.
Cheers, Robert. On 8 February 2013 17:45, Jan Ciger <jan.ci...@gmail.com> wrote: > > Hello Robert, > > On Wed, Feb 6, 2013 at 1:08 PM, Robert Osfield <robert.osfi...@gmail.com> > wrote: >> >> Hi All, > > >> >> I have gone ahead and cleaned up include/osg/Math so that it uses >> <cmath> and <cfloat> on all platforms, there is only one platform >> specific hack left and that for MS's dumb arse "we're not doing the >> Standard C++ properly, we'll do it in a own way so naa naa naa", the >> hack being _isnan in place of the proper std::isnan. >> >> I have checked this clean up in to svn/trunk so would appreciate >> testing out in the community for as wide range of platforms as you >> can. > > > > Unfortunately, this seems to bork the Android build, at least with the > default 4.4.3 gcc :( > > C:/R/Dependencies/OpenSceneGraph-ARM/source/include/osg/Math: In function > 'bool osg::isNaN(float)': > C:/R/Dependencies/OpenSceneGraph-ARM/source/include/osg/Math:115:46: error: > expected unqualified-id before '(' token > C:/R/Dependencies/OpenSceneGraph-ARM/source/include/osg/Math: In function > 'bool osg::isNaN(double)': > C:/R/Dependencies/OpenSceneGraph-ARM/source/include/osg/Math:116:47: error: > expected unqualified-id before '(' token > make: *** [obj/local/armeabi/objs/osg/AnimationPath.o] Error 1 > > Explanation is here: > http://stackoverflow.com/questions/8766092/build-issue-when-using-cmath-with-android-ndk > > Jan > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org