Hi Christian,

On 1 February 2013 07:31, Christian Schulte <[email protected]> wrote:
> my nightly build worked fine on RedHat 5.3(64bits) but also on CentOS
> 6.3(64bits), WinXP(32bits)¨and Win7(64bits).
> Thanks again for your quick answer and solution.
> By the way did you think about how to correct the math.h problem (regarding
> the round function, see discussion "[osg-users] [osgPlugins] DDS Texture
> vanish with LINEAR_MIPMAP_LINEAR") ? In our environment I have recompiled
> all OSG 3.0.1 and trunk replacing math.h by cmath in include/osg/Math and
> didn't have any problems until now.

The only way to find out whether cmath is safe to use in
include/osg/Math is to do it and then get the community to test across
the full set of platforms.  Problem areas are likely to be HP-UX, AIX,
Solaris and IRIX.  The later being the most likely to be a problem but
it's also not something we official support now as no one tests on
that platform that I'm aware of.

Perhaps we could put a CMAKE variable into control whether to use
cmath or math.h in case using cmath is problematic.  This does add
complexity though and if we don't need it it'll be a waste of time.
There is no way for me to know until we do wider testing.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to