Hi Martin,

> 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?

        Yes, that should work, I just didn't want to go through and make
that many changes.  I can of course pull down another branch and do that
work if you would like.

KB

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to