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
Comment #1 by code — 2014-10-04T07:58:35Z
There is no constructor in HTTP, so I'm how you got this error.