Summary: No support for Posix on Windows
           Product: D
           Version: 2.020
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

This is not a Phobos but a druntime issue, but it doesn't present in a list.

The following line fails to compile on Windows:

src\druntime\import\stdc\posix\arpa\inet.d(13): import socklen_t not found
src\druntime\import\stdc\posix\arpa\inet.d(13): alias recursive alias declaration

Many declorations any not present in version(Windows). There should be either a
static assert(false, "Not supported on Windows"); or it should just work.

In need this module to use bsd sockets and helper functions (htonl, ntohl etc)


Reply via email to