[osg-users] OpenSceneGraph-3.6.1 release candidate 6 tagged

Maxim Stere osgforum at tevs.eu
Tue May 22 13:17:53 PDT 2018


Hi Robert,

We found a bug in the timer class. 

in osg/Timer lines 21 to 25 read:


Code:

#if defined(_MSC_VER)
    typedef __int64 Timer_t;
#else
    typedef unsigned long long Timer_t;
#endif




but it should be


Code:

#if defined(_MSC_VER)
    typedef unsigned __int64 Timer_t;
#else
    typedef unsigned long long Timer_t;
#endif




We were working with timers in Linux and Windows, and noticed that in certain cases you can introduce a bug that will be hidden on Windows and will break things on Linux if you all of a sudden somehow get negative Timer_t


... 

Thank you!

Cheers,
Maxim

------------------------
Thank you,
--Maxim

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73714#73714







More information about the osg-users mailing list