[Issue 13691] Add @nogc at the top of system modules like core.sys.linux.sys.mman

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 16 14:21:43 UTC 2020


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

Mathias LANG <pro.mathias.lang at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |pro.mathias.lang at gmail.com
         Resolution|---                         |FIXED

--- Comment #1 from Mathias LANG <pro.mathias.lang at gmail.com> ---
`@nogc` had been added to most (hopefully all?) `extern(C)` binding.
I checked `madvise` and it is annotated nowadays:
https://github.com/dlang/druntime/blob/d3eca11d43f1ef57cadb2f724ac51a6b0a437a65/src/core/sys/posix/sys/mman.d#L47

--


More information about the Digitalmars-d-bugs mailing list