CURL question on ubuntuforums.org

Jacob Carlborg doob at me.com
Fri Jan 6 15:22:26 PST 2012


On 2012-01-06 21:26, Robert Clipsham wrote:
> On 06/01/2012 13:58, Jacob Carlborg wrote:
>>> The only time pragma(lib) works is when the file it's in is provided on
>>> the command line. rdmd can work around this as it invokes dmd twice,
>>> there's not a lot that can be done otherwise though.
>>>
>>
>> You mean it doesn't work for .di files, I'm aware of that.
>>
>> http://d.puremagic.com/issues/show_bug.cgi?id=2776
>
> dmd -c a.d
> dmd -c b.d
> dmd a.d b.d
>
> ...
>
> Cue linker errors if A or B has a pragma(lib) in it and relevant extern
> declarations.
>

Oh, yeah, that problem as well.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list