Where to find __sync_add_and_fetch_8?
Posted
by Viet
on Stack Overflow
See other posts from Stack Overflow
or by Viet
Published on 2010-04-02T10:32:30Z
Indexed on
2010/04/02
10:43 UTC
Read the original article
Hit count: 324
I got errors when trying to use __sync_add_and_fetch:
test8.cpp:(.text+0x90e): undefined reference to `__sync_add_and_fetch_8'
collect2: ld returned 1 exit status
Please kindly advise how to rectify this.
Specs: GCC/G++: 4.4.1 GNU/Linux 2.6.32 SMP i686
Many thanks!
© Stack Overflow or respective owner