Summary: std.c.osx.socket and std.c.linux.socket cause symbol
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Masahiro Nakagawa <> 2010-07-04 
03:15:29 PDT ---
Currently, I am trying to improve std.socket(Source is here In this process, I get
the compilation error.

test.d(5): Error: at
/path/to/src/druntime/import/core/sys/posix/arpa/inet.di(45) conflicts with
core.sys.posix.netinet.in_.INET_ADDRSTRLEN at

Following code is a part of std.c.osx.socket(std.c.linux.socket too).

private import core.stdc.stdint;
public import;
public import core.sys.posix.netinet.tcp;
public import core.sys.posix.netinet.in_;
public import;
public import core.sys.posix.sys.socket;

core.sys.posix.netinet.in_ already imports as public.
I think "public import" should be removed.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to