[Issue 24141] New: ImportC: C11 atomics not supported
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 12 06:22:38 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24141
Issue ID: 24141
Summary: ImportC: C11 atomics not supported
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: bugzilla at digitalmars.com
Reported by Jeffrey H. Johnson:
it seems one cannot use C11 atomics.
I don't know if this is something that can be worked around, but if you try to
use them, you get the following error messages from DMD:
file.c(99): Error: undefined identifier `__c11_atomic_load`
file.c(126): Error: undefined identifier `__c11_atomic_store`
file.c(204): Error: undefined identifier `__c11_atomic_store`
file.c(220): Error: undefined identifier `__c11_atomic_load`
file.c(429): Error: undefined identifier `__c11_atomic_init`
--
More information about the Digitalmars-d-bugs
mailing list