OpenSceneGraph/include/OpenThreads
Robert Osfield 3b8802c5aa From Piotr Domagalski, "Currently, code using OpenSceneGraph doesn't build with clang due to the way __sync_bool_compare_and_swap() is used in OpenThreads/Atomic header file.
I tested it with clang 3.1 and it seems that clang is enforcing the use of the same type for all parameters in this builtin. Looking at the function declaration [1]

bool __sync_bool_compare_and_swap (type *ptr, type oldval type newval, ...)

it seems to be doing the right thing: here the same type is used for *ptr, oldval and newval.

[1] http://gcc.gnu.org/onlinedocs/gcc/_005f_005fsync-Builtins.html#g_t_005f_005fsync-Builtins
"
2012-09-06 10:52:28 +00:00
..
Atomic From Piotr Domagalski, "Currently, code using OpenSceneGraph doesn't build with clang due to the way __sync_bool_compare_and_swap() is used in OpenThreads/Atomic header file. 2012-09-06 10:52:28 +00:00
Barrier Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
Block Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
Condition Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
Exports Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
Mutex Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
ReadWriteMutex Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
ReentrantMutex Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
ScopedLock Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
Thread Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
Version Updated version number 2011-06-17 11:47:47 +00:00