Hello Robert,

On Wed, Feb 6, 2013 at 1:08 PM, Robert Osfield <[email protected]>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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to