[osg-users] OpenSceneGraph-3.6.1 release candidate 6 tagged
Robert Osfield
robert.osfield at gmail.com
Tue May 22 22:59:42 PDT 2018
Thanks Maxim. I've applied this fix to the 3.6 branch and master.
On 22 May 2018 at 21:17, Maxim Stere <osgforum at tevs.eu> wrote:
> 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
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
More information about the osg-users
mailing list