Despite having `__GNUC__` set to 4, the standard library of the latest version of [PCC](https://en.wikipedia.org/wiki/Portable_C_Compiler) doesn't have `__sync_bool_compare_and_swap()`. The simplest solution would be to explicitly exclude it: ```c #elif defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__PCC__) // ^^^^^^^^^^^^^^^^^^^^ ``` I have a feeling there are other compilers that define `__GNUC__` that aren't fully compatible with it (e.g. Clang's function attributes differ). This may bite us later.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by dargueta and has received 0 comments.