[zeromq-dev] Static linking issue on Win32.
sustrik at 250bpm.com
Mon Aug 30 14:32:54 CEST 2010
> Basically, the problem is if you declare the functions using
> __declspec but when you actually define them in the cpp's without
> __declspec, the call style is going to be different. With the
> ZMQ_STATIC_BUILD set, it just removes the __declspec like other platforms
> which fixes up the calling conventions properly.
What about doing it other way round, ie. using declspec for both
definition and declaration? Would that get us rid of need for extra
And would the result be linkable both statically and dynamically?
More information about the zeromq-dev