When using -std=c11, or -std=gnu11 options: GCC4.8 defines the __STDC_VERSION__ macro to a value correspinding to C11, but the _Thread_local keyword is only supported starting with version 4.9. With this patch, using the __thread keyword gets higher preference than using the _Thread_local keyword. Also, GCC4.8 doesn't support C11 atomics (it was added in GCC4.9), but doesn't define the __STDC_NO_ATOMICS__ macro either. This patch adds an explicit check for GCC version. See: https://gcc.gnu.org/wiki/C11Status
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by GBuella and has received 1 comments.