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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 24 03:52:22 UTC 2024


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@jmdavis created dlang/dmd pull request #16241 "Fix bugzilla issue 24408 -
Remove duplicate AF_INET6 declaration." fixing this issue:

- 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