[Issue 21631] core.atomic.cas fails to compile with const ifThis (if target is a pointer)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 12 12:44:32 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=21631

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@thaven created dlang/druntime pull request #3373 "core.atomic.cas: add 'const'
attribute to local variable 'arg1'" fixing this issue:

- Fix Issue 21631 - cas: add 'const' attribute to local variable 'arg1'

https://github.com/dlang/druntime/pull/3373

--


More information about the Digitalmars-d-bugs mailing list