A valid code that won't run?

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 24 13:27:28 PDT 2015


On 4/24/15 4:06 PM, Dicebot wrote:
> On Friday, 24 April 2015 at 17:44:32 UTC, Steven Schveighoffer wrote:
>> On 4/24/15 1:37 PM, Iain Buclaw via Digitalmars-d wrote:
>>
>>>
>>>
>>> You need to explicitly link third party libraries.
>>>
>>
>> You shouldn't need to explicitly link anything that comes out of
>> phobos IMO.
>>
> It doesn't come with Phobos and DMD can't possibly know how curl is
> installed on target system.

Then it shouldn't be in phobos.

If pragma(lib, "libcurl"); doesn't work normally, then we should remove 
std.net.curl, and put it in dub.

-Steve


More information about the Digitalmars-d mailing list