Bug 17753 – IN6_IS_ADDR_UNSPECIFIED and friends should accept const(in6_addr)*

Status
NEW
Severity
normal
Priority
P3
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-08-14T12:40:03Z
Last change time
2024-12-07T13:37:30Z
Assigned to
No Owner
Creator
Shachar Shemesh
Moved to GitHub: dmd#17348 →

Comments

Comment #0 by shachar — 2017-08-14T12:40:03Z
These are a bunch of macros in the C headers. When translated to D, they were transformed into functions. As such, they should declare their constness, or calling them becomes a problem from certain contexts.
Comment #1 by robert.schadek — 2024-12-07T13:37:30Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17348 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB