[Issue 12998] New: std.net.curl fails to compile
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jun 26 21:54:48 PDT 2014
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: nobody at puremagic.com
Reporter: jlquinn at optonline.net
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
--
More information about the Digitalmars-d-bugs
mailing list