On 28 May 2011 06:56, Steven McCoy <[email protected]> wrote: > Latest sync up with any zeromq repo seems to fail on x64, > > $ x86_64-w64-mingw32-g++ -DHAVE_CONFIG_H -pedantic -Werror -Wall > -Wno-long-long -D_REENTRANT -D_THREAD_SAFE -g -O2 -MT libzmq_la-ctx.lo -MD > -MP -MF .deps/libzmq_la-ctx.Tpo -c ctx.cpp -DDLL_EXPORT -DPIC -o > .libs/libzmq_la-ctx.o > cc1plus: warnings being treated as errors > In file included from windows.hpp:63:0, > from fd.hpp:27, > from mailbox.hpp:27, > from ctx.hpp:29, > from ctx.cpp:24: > /usr/x86_64-w64-mingw32/sys-root/mingw/include/winsock2.h:15:2: error: > #warning > Please include winsock2.h before windows.h > > Looks like a possible bug with MinGW32 or something very fruity with > preprocessor definitions as I cannot catch where it occurs by changing > windows.h. > > Blame here, windows.hpp line 27:
// The purpose of this header file is to turn on only the items actually needed // on the windows platform. #define _WINSOCKAPI_ -- Steve-o
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
