Thread overview
[Issue 24141] ImportC: C11 atomics not supported
Sep 12, 2023
Walter Bright
Sep 12, 2023
Walter Bright
Sep 12, 2023
Richard Cattermole
Sep 12, 2023
Walter Bright
Sep 12, 2023
Walter Bright
Nov 23, 2023
Walter Bright
September 12, 2023
https://issues.dlang.org/show_bug.cgi?id=24141

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ImportC

--
September 12, 2023
https://issues.dlang.org/show_bug.cgi?id=24141

--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> ---
Atomics are optional in C11, but ImportC should support them anyway.

--
September 12, 2023
https://issues.dlang.org/show_bug.cgi?id=24141

--- Comment #2 from Richard Cattermole <alphaglosined@gmail.com> ---
There appears to be a define that disables them: https://en.cppreference.com/w/c/atomic

However, dmd should bite the bullet and finally implement the atomic intrinsics. They are long overdue and I've had so many issues with them not being an intrinsic in D as well.

--
September 12, 2023
https://issues.dlang.org/show_bug.cgi?id=24141

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trnsz@pobox.com

--
September 12, 2023
https://issues.dlang.org/show_bug.cgi?id=24141

--- Comment #3 from Walter Bright <bugzilla@digitalmars.com> ---
I know.

--
November 23, 2023
https://issues.dlang.org/show_bug.cgi?id=24141

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=23770

--