Hi Kelly, > 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 ZMQ_STATIC_BUILD setting? And would the result be linkable both statically and dynamically? Martin _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
