Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.16.0
-
None
-
None
Description
All supported platforms of Dispatch can compile using C11 (or gnu11) language standard.
There is a caveat that GCC 4.8.5 claims to support C11 atomics but it doesn't. (It does not define _STDC_NO_ATOMICS_ while in fact the stdatomic.h header is missing.) Thankfully the Dispatch code is able to deal with the situation by using GCC-specific features, so it is not a problem.
I do not see any downsides to requiring C11 for Dispatch compilation.
Attachments
Issue Links
- is related to
-
DISPATCH-1344 Relaxing C11 sys_atomic_init and get
- Open