[Issue 2507] New: No support for Posix on Windows
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Dec 11 10:39:03 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2507
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
AssignedTo: bugzilla at digitalmars.com
ReportedBy: 2korden at gmail.com
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:
import stdc.posix.arpa.inet;
src\druntime\import\stdc\posix\arpa\inet.d(13): import socklen_t not found
src\druntime\import\stdc\posix\arpa\inet.d(13): alias
stdc.posix.arpa.inet.socklen_t 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)
--
More information about the Digitalmars-d-bugs
mailing list