[zeromq-dev] build zeromq-2.0.9 with mingw

Steven McCoy steven.mccoy at miru.hk
Sat Oct 2 17:53:48 CEST 2010


On 2 October 2010 13:11, Herry Sitepu <hisitepu at gmail.com> wrote:

> 1. swap.cpp:254 __int64 offset = _lseeki64 (fd, pos, SEEK_SET);
> My temporary solution is to use long instead of __int64
>
>
There is already a workaround but only enabled for PGM, it looks like it
needs updating anyway:

    # ... and on Linux/Windows/Solaris/FreeBSD/OSX systems.
    case "${host_os}" in
        *linux*|*mingw32*|*solaris*|*freebsd*|*darwin*)
            LIBZMQ_EXTRA_CXXFLAGS="${LIBZMQ_EXTRA_CXXFLAGS}
-Wno-variadic-macros -Wno-long-long "
        ;;
        *)
            AC_MSG_ERROR([the PGM extension is not supported on system
${host_os}.])
        ;;
    esac
    AC_MSG_RESULT([yes])

The "-Wno-variadic-macros" is already handled by OpenPGM and should be
pulled out unless I'm mistaken on C++ compatibility.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101002/d7edb28f/attachment.htm>


More information about the zeromq-dev mailing list