https://issues.dlang.org/show_bug.cgi?id=13747
Paul O'Neil <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|druntime |DMD Summary|Linux CMSG_NXTHDR is |Linux CMSG_NXTHDR is |private |private, since alias | |doesn't change protection | |level --- Comment #2 from Paul O'Neil <[email protected]> --- Per Martin's comments (https://github.com/D-Programming-Language/druntime/pull/1034), this is a compiler bug, not a problem with the code as originally written in druntime. private inout(cmsghdr)* __cmsg_nxthdr(inout(msghdr)*, inout(cmsghdr)*) pure nothrow @nogc; alias __cmsg_nxthdr CMSG_NXTHDR; CMSG_NXTHDR should have default protection instead of private. In the meantime, PR 1034 has been merged; it uses a one-line function for CMSG_NXTHDR instead of an alias. --
