↧
Answer by jspcal for _GLIBCXX_ATOMIC_BUILTINS not defined in gcc 4.4.5
In that version you will also want to check the atomic macros for some particular data type, so you could do:#if defined(_GLIBCXX_ATOMIC_BUILTINS_4) && !defined(_GLIBCXX_ATOMIC_BUILTINS)#define...
View Article_GLIBCXX_ATOMIC_BUILTINS not defined in gcc 4.4.5
I have some code that I'm porting and I've tracked down the error to missingthe macro _GLIBCXX_ATOMIC_BUILTINSDo later versions of gcc not define this?What's the proper way to get around this?
View Article