On Sun, 01 Feb 2015 11:40:12 +0000, jkpl wrote:

> On Sunday, 1 February 2015 at 11:37:46 UTC, Vladimir Panteleev wrote:
>> On Sunday, 1 February 2015 at 11:28:51 UTC, jkpl wrote:
>>> Shouldn't you compile with the following cmds ?
>>>
>>> dmd.exe test.d wininet.lib wininet.di -I<path_to_di_file>
>>
>> wininet.lib is unnecessary because wininet.d has `pragma(lib,
>> "wininet");`.
>>
>> wininet.di is unnecessary because it does not contain any code,
>> only declarations - an import inside test.d is sufficient. (This may
>> not be true if you pull in .init of struct types, for example)
> 
> okay but the -Ipath is still missing, wouldn't be a bit the reason why
> dmd complains about undefined symbols ?

it's not missing, it's in "sc.ini", along with other minor tweaks that 
aren't interesting in the context of the story itself.

Attachment: signature.asc
Description: PGP signature

Reply via email to