I have some code that I'm porting and I've tracked down the error to missing the macro _GLIBCXX_ATOMIC_BUILTINS
Do later versions of gcc not define this?
What's the proper way to get around this?
|
I have some code that I'm porting and I've tracked down the error to missing the macro _GLIBCXX_ATOMIC_BUILTINS Do later versions of gcc not define this? What's the proper way to get around this? |
|||
|
|
|
In that version you will also want to check the atomic macros for some particular data type, so you could do:
or
The macros are:
|
|||||||||
|