zeromq4-x icon indicating copy to clipboard operation
zeromq4-x copied to clipboard

CDECL calling convention is not explicitly specified in zmq.h

Open mvidelgauz opened this issue 10 years ago • 0 comments

If a client application is built with "stdcall" calling convention and links with ZMQ it gets "unresolved external symbols" errors (at least in Visual Studio)

The problem can be solved by providing explicit "cdecl" specification in all external ZMQ functions prototypes in "zmq.h"

(actually, that's the way the problem is solved in our stdcall-compiled project - by manual editing "zmq.h")

mvidelgauz avatar Jan 11 '15 15:01 mvidelgauz