Hi Robert, Well, not really. My limited benchmarks did not show any performance differences. But in the current form the code will result in compiler errors, due to the fact that both _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS and _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED are defined.
A simple solution would be to modify the CMake script so that these two cannot be defined simultaneously. And as you previously suggested to select the GCC-path when compiling with GCC under MinGW. Best regards Björn Från: osg-users [mailto:[email protected]] För Robert Osfield Skickat: den 19 november 2014 17:27 Till: OpenSceneGraph Users Ämne: Re: [osg-users] Ambiguous defines in Atomic.cpp when compiling with MinGW and GCC Hi Bjorn, Did you come up with a sensible solution for this? If so could you post me your changes so I can review/merge them. Thanks, Robert. On 20 July 2014 18:43, Björn Blissing <[email protected]<mailto:[email protected]>> wrote: Hi Robert, I tried both options and they both seem to work. Although I guess some deeper benchmarking would be in order. Are there any of the examples and/or datasets that would be good candidates for benchmarking the different versions? Regards, Björn ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=60363#60363 _______________________________________________ osg-users mailing list [email protected]<mailto:[email protected]> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

