https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864
--- Comment #49 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #48) > Perhaps that redefinition of _Atomic should be guarded with > #if (__STDC_VERSION__ < 201112L) || defined(__cplusplus) > or so, so that for C -std=c11 you still get _Atomic? sure, right now the idea is to prove that the fix works (since Erik's version was said not to, I just stopped it does to the minimum). I have questions open with folks in Apple and clang to see if this issue is an intentional "enhancement" or an accidental bug (and I think our eventual fix might depend on the answer to that) - my hope is that the SDK will get reissued so that we don't need the fix include hack at all.