Currently, I am trying to improve std.socket(Source is here http://bitbucket.org/repeatedly/scrap/src/tip/socket.d). In this process, I get the compilation error. test.d(5): Error: core.sys.posix.arpa.inet.INET_ADDRSTRLEN at /path/to/src/druntime/import/core/sys/posix/arpa/inet.di(45) conflicts with core.sys.posix.netinet.in_.INET_ADDRSTRLEN at /path/to/src/druntime/import/core/sys/posix/netinet/in_.di(70) Following code is a part of std.c.osx.socket(std.c.linux.socket too). ----- private import core.stdc.stdint; public import core.sys.posix.arpa.inet; public import core.sys.posix.netinet.tcp; public import core.sys.posix.netinet.in_; public import core.sys.posix.sys.select; public import core.sys.posix.sys.socket; ----- core.sys.posix.netinet.in_ already imports core.sys.posix.arpa.inet as public. I think "public import core.sys.posix.arpa.inet" should be removed.
https://github.com/D-Programming-Language/druntime/commit/ab485ce80963adb5af5d4c4dd3a08a64ac86f0be Fixed?
Can anyone repro this?
Four years old, no replies, looks like it's fixed. Let's close it.