[zeromq-dev] Static linking issue on Win32.
Martin Sustrik
sustrik at 250bpm.com
Mon Aug 30 20:29:56 CEST 2010
On 08/30/2010 08:18 PM, Kelly Brock wrote:
> Hi Martin,
>
> Just as a note, there is still a bit of an issue though it's just
> warnings. Basically if you have the decl's and just statically link you get
> a whole slew of linker warnings about "locally defined function imported"
> blah, blah. This is not a horrible thing but it is annoying. The only way
> I can see to fix it is to go with the original suggestion of just removing
> the declspec's completely for a static build via a define.
Warnings are annoying, but having to add a random define is even more
so. What about adding two new configurations to the MSVC project. So
we'll have:
Dynamic Debug
Dynamic Release
Static Debug
Static Release
The latter two would have the constant defined.
Thoughts?
Martin
More information about the zeromq-dev
mailing list