https://issues.dlang.org/show_bug.cgi?id=12998
Issue ID: 12998
Summary: std.net.curl fails to compile
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: Phobos
Assignee: [email protected]
Reporter: [email protected]
I'm trying to build the head of the tree on Ubuntu 14.04 x86-64. dmd and
druntime build fine. phobos fails as follows:
std/net/curl.d(2140): Error: struct std.net.curl.HTTP static opCall is hidden
by constructors and can never be called
std/net/curl.d(2140): Please use a factory method instead, or replace
all constructors with static opCall.
std/net/curl.d(2830): Error: struct std.net.curl.FTP static opCall is hidden by
constructors and can never be called
std/net/curl.d(2830): Please use a factory method instead, or replace
all constructors with static opCall.
std/net/curl.d(3167): Error: struct std.net.curl.SMTP static opCall is hidden
by constructors and can never be called
std/net/curl.d(3167): Please use a factory method instead, or replace
all constructors with static opCall.
make: *** [generated/linux/release/64/libphobos2.a] Error 1
--