[zeromq-dev] [PATCH] Fixes warning when compiled with MSVC on Win64

Christian Martinez chmar at microsoft.com
Mon May 16 20:52:15 CEST 2011


Boy this is fun on Windows.

After patch failing all the time do to whitespace fun now checking remaining issues.

$ git apply --verbose --check --ignore-whitespace --ignore-space-change
xes-warning-when-compiling-with-MSVC-on-Win64.patch
Checking patch src/array.hpp...
Checking patch src/dist.cpp...
Checking patch src/encoder.hpp...
Checking patch src/err.cpp...
Checking patch src/fq.cpp...
error: while searching for:
    errno_assert (rc == 0);

    //  Round-robin over the pipes to get the next message.
    for (int count = active; count != 0; count--) {

        //  Try to fetch new message. If we've already read part of the
        //  subsequent part should be immediately available.

error: patch failed: src/fq.cpp:100
error: src/fq.cpp: patch does not apply
Checking patch src/ip.cpp...
Checking patch src/lb.cpp...
Checking patch src/own.cpp...
Checking patch src/select.cpp...
Checking patch src/tcp_socket.cpp...
Checking patch src/tcp_socket.hpp...
Checking patch src/xrep.cpp...
error: while searching for:
    return 0;
}


bool zmq::xrep_t::xhas_in ()
{
    //  There are subsequent parts of the partly-read message available.

error: patch failed: src/xrep.cpp:299
error: src/xrep.cpp: patch does not apply
Checking patch src/zmq.cpp...


--CM


-----Original Message-----
From: zeromq-dev-bounces at lists.zeromq.org [mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Martin Sustrik
Sent: Sunday, May 15, 2011 4:15 AM
To: 0MQ development list
Subject: [zeromq-dev] [PATCH] Fixes warning when compiled with MSVC on Win64

Hi Chriastian,

Can you check whether this patch to master solves the warnings?

Thanks!
Martin



More information about the zeromq-dev mailing list