[Issue 24408] AF_INET6 duplicated in core.sys.linux.sys.socket

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 24 08:24:16 UTC 2024


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #16241 "Fix bugzilla issue 24408 - Remove duplicate
AF_INET6 declaration." was merged into master:

- 634ce7cc54577168e93a2bbbb461bc2a12943ddd by Jonathan M Davis:
  Fix bugzilla issue 24408 - Remove duplicate AF_INET6 declaration.

  It's already declared in core.sys.posix.sys.socket, so declaring it in
  core.sys.linux.sys.socket causes a conflict in code that imports both.

  The Linux-specific module publicly imports the POSIX one, so the
  declaration in the Linux one is unnecessary. This removes it.

https://github.com/dlang/dmd/pull/16241

--


More information about the Digitalmars-d-bugs mailing list