[zeromq-dev] [PATCH] Fix incorrect include usage on Windows
Steven McCoy
steven.mccoy at miru.hk
Mon Jun 13 19:24:58 CEST 2011
On 13 June 2011 12:15, Steven McCoy <steven.mccoy at miru.hk> wrote:
> It's the Cygwin versions that fail, let me run through the builds and
> archive some logs.
>
>
>
Pulling 2.1.7 and building the following targets, I don't know if *
pc-mingw32* should be the same as *msys/mingw32 *I didn't see it before.
This is without MinGW on Linux cross compiles which I normally run in HK.
*Cygwin + gcc*
*
*
Build success, but no *bin *directory on install, generates *libzmq.a* and *
libzmq.la*.
*Cygwin + i686-pc-mingw32*
Build success, generates *libzmq.dll*, *libzmq.dll.a*, and *libzmq.la*.
*Cygwin + i686-w64-mingw32*
Build failure:
In file included from windows.hpp:65:0,
from err.hpp:34,
from clock.cpp:25:
/usr/i686-w64-mingw32/sys-root/mingw/include/winsock2.h:15:2: error:
#warning Please include winsock2.h before windows.h
*Cygwin + x86_64-w64-mingw32 *
Build failure:
In file included from windows.hpp:65:0,
from err.hpp:34,
from clock.cpp:25:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/winsock2.h:15:2: error:
#warning
Please include winsock2.h before windows.h
*MSYS + mingw32*
*
*
Build success, install is a no-op.
*MSVC 2010.*
Build success.
--
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110613/9d5da963/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildlogs.tgz
Type: application/x-gzip
Size: 9815 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110613/9d5da963/attachment.bin>
More information about the zeromq-dev
mailing list