[zeromq-dev] 2 tests fail (test_spec_rep and test_stream) + 1 warning when compiling zmq 4.0 RC with clang++ on Macosx

Pieter Hintjens ph at imatix.com
Thu Sep 26 11:34:08 CEST 2013


On Thu, Sep 26, 2013 at 2:17 AM, Radu Braniste <rbraniste at gmail.com> wrote:

> options.cpp:289:28: warning: comparison of unsigned expression >= 0 is
> always true

OK, fixed that.

> Application Specific Information:
> Assertion failed: (strcmp (data, (const char *)zmq_msg_data (&msg)) == 0),
> function s_recv_seq, file ./testutil.hpp, line 221.

Don't have OS/X to debug this. If you could get a stack with line
numbers that would help.

> Assertion failed: (rc == 97), function test_stream_to_dealer, file
> test_stream.cpp, line 105.

Fixed that; the assert is simply incorrect.

I'm sending a pull request for the two fixes. You can retry from
libzmq master later, if you like. Thanks for reporting these.

-Pieter



More information about the zeromq-dev mailing list