[zeromq-dev] List Guidelines and Project/Source modifications - Windows/MSVC
rafael at soscpd.net
rafael at soscpd.net
Thu Jan 19 15:39:39 CET 2012
Hello List
Since that's my first post here, I'll have to ask if we have any
specific guidelines (long time usenet user, we can skip the basics)?
Now, the interesting part:
I'm working with zmq on Windows (client - Linux/Mac server) version
2.1.10, MSVC 2010. I've changed zmq includes (zmq.h && zmq_utils.h) to
have a less verbose output:
/* Handle DSO symbol visibility
*/
#if defined _WIN32
# if defined _MSC_VER
# if defined ZMQ_STATIC && !defined DLL_EXPORT
# define DLL_EXPORT
# endif
# if defined DLL_EXPORT
# define ZMQ_EXPORT __declspec(dllexport)
# else
# define ZMQ_EXPORT __declspec(dllimport)
# endif
# else
# define ZMQ_EXPORT
# endif
#else
# if defined __SUNPRO_C || defined __SUNPRO_CC
# define ZMQ_EXPORT __global
# elif (defined __GNUC__ && __GNUC__ >= 4) || defined
__INTEL_COMPILER
# define ZMQ_EXPORT __attribute__ ((visibility("default")))
# else
# define ZMQ_EXPORT
# endif
#endif
Project was modified to add 2 new configurations: Release Static
Library and Debug Static Library.
I've changed czmq sources and project a lot. Relocated all conflicting
variables and moved struct definitions to header files, so it can build
as c code.
Project was modified to add 2 new configurations: Release Dynamic LL
and Debug Dynamic LL.
Output is silent now. Hopefully, will work too - tests are still
running.
How can I contribute? Any interest in those files?
Regards
Rafael
More information about the zeromq-dev
mailing list