[Issue 12859] Read-modify-write operation for shared variable in Phobos

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 2 04:40:21 PDT 2014


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

--- Comment #5 from bearophile_hugs at eml.cc ---
When I compile druntime I still see some errors:


src\core\stdc\stdio.d(683): Deprecation: Read-modify-write operations are not
allowed for shared variables. Use core.atomic.atomicOp!"&="((*stream)._flag,
~_IOERR) instead.
src\core\stdc\stdio.d(684): Deprecation: Read-modify-write operations are not
allowed for shared variables. Use core.atomic.atomicOp!"&="((*stream)._flag,
~(_IOERR | _IOEOF)) instead.

dmd -c -oflib\gcstub.obj src\gcstub\gc.d -m32 -O -release -inline -w -Isrc
-Iimport
src\core\stdc\stdio.d(683): Deprecation: Read-modify-write operations are not
allowed for shared variables. Use core.atomic.atomicOp!"&="((*stream)._flag,
~_IOERR) instead.
src\core\stdc\stdio.d(684): Deprecation: Read-modify-write operations are not
allowed for shared variables. Use core.atomic.atomicOp!"&="((*stream)._flag,
~(_IOERR | _IOEOF)) instead.


Do I have to reopen this issue?

--


More information about the Digitalmars-d-bugs mailing list