Deprecated std.c.*.socket and missing replacement
Sebastiaan Koppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jun 27 11:12:21 PDT 2017
On Tuesday, 27 June 2017 at 17:58:29 UTC, Jonathan M Davis wrote:
> Why would you need to remove anything from Phobos? The enum in
> question is in a deprecated module. All that should need to
> happen is that the enum be added to the appropriate module in
> druntime, and then any code that uses it can import it from
> there.
>
> - Jonathan M Davis
Except that the deprecated module (std.c.posix.socket) imports
the module where I would like to add them
(core.sys.posix.netinet.in_), resulting in duplicated symbols.
Therefor they need to be removed.
More information about the Digitalmars-d-learn
mailing list