CURL question on ubuntuforums.org

Robert Clipsham robert at octarineparrot.com
Fri Jan 6 12:26:06 PST 2012


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.

-- 
Robert
http://octarineparrot.com/


More information about the Digitalmars-d mailing list