pragma(lib,...)

Derek Parnell Derek_member at pathlink.com
Tue Mar 14 23:07:35 PST 2006


In article <dv5qv3$296q$1 at digitaldaemon.com>, Lionello Lunesu says...
>
>
>"jicman" <jicman_member at pathlink.com> wrote in message 
>news:dv55d8$1had$1 at digitaldaemon.com...
>>
>> Use build? :-)
>
>??? I get the same linker output if I use build. Futhermore, I have to 
>manually delete main.obj after each try, since "Files are up to date, no 
>build required." (eventhough the previous builds had linker errors).
>
>OPTLINK is still creating an .exe, apparently..
>

Try using Build again but with ...

version(build) pragma(link, "wsock32.lib");

and use the -full switch to force a full recompile.





More information about the Digitalmars-d-learn mailing list