September 12, 2023 [Issue 24141] New: ImportC: C11 atomics not supported | ||||
---|---|---|---|---|
| ||||
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@puremagic.com Reporter: bugzilla@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` -- |
Copyright © 1999-2021 by the D Language Foundation