Displaying 1 result from an estimated 1 matches for "comperand".
Did you mean:
comparand
2012 Dec 12
1
[LLVMdev] providing llvm gcc built-in function implementation...
...I implemented the function, and the code is working correctly.
But the only way I manage to make the linker to find the function, and to
build the code is to declare my function as:
"
extern "C" bool __sync_bool_compare_and_swap_16(volatile __uint128_t *
destination, __uint128_t comperand, __uint128_t exchange)
{...}
"
Though the code is linked and is working properly, the warnings are
generated:
"
.../src/sync.cpp:205: warning: new declaration 'bool
__sync_bool_compare_and_swap_16(volatile __uint128_t*, __uint128_t,
__uint128_t)'
...l/src/sync.cpp:205: warning:...