[zeromq-dev] Error: comparison between signed and unsigned integer expressions

Martin Hurton hurtonm at gmail.com
Fri Jul 6 10:28:32 CEST 2012


Hi Sharon, what revision are you using?
Commit eb6c668c2ae961a4a53d11d81dd6d2df5bffa666 from Javier Lopez
already fixes that.

- Martin

On Thu, Jul 5, 2012 at 8:51 AM, Sharon Ben-Asher
<Sharon.Ben-Asher at avg.com> wrote:
> Hello,
>
>
>
> I am trying to build ZeroMQ build for Android.  I have a VM with Ubuntu
> 12.04 on x86_64, NDK is R8, configured as standalone toolchain, exactly like
> your websites instructs.
>
> I downloaded the 3.x git project (git clone
> https://github.com/zeromq/zeromq3-x.git)
>
> configure was ok.
>
> When I do make, I get the following errors:
>
>
>
> cc1plus: warnings being treated as errors
>
> tcp_address.cpp: In constructor 'zmq::tcp_address_t::tcp_address_t(const
> sockaddr*, socklen_t)':
>
> tcp_address.cpp:374: error: comparison between signed and unsigned integer
> expressions
>
> tcp_address.cpp:377: error: comparison between signed and unsigned integer
> expressions
>
> tcp_address.cpp: In member function 'const bool
> zmq::tcp_address_mask_t::match_address(const sockaddr*, socklen_t) const':
>
> tcp_address.cpp:580: error: comparison between signed and unsigned integer
> expressions
>
> make[2]: *** [libzmq_la-tcp_address.lo] Error 1
>
> make[2]: Leaving directory `/home/sharon/zeromq3-x/src'
>
> make[1]: *** [all] Error 2
>
> make[1]: Leaving directory `/home/sharon/zeromq3-x/src'
>
> make: *** [all-recursive] Error 1
>
>
>
> Attached is the full make output  + configure.log
>
>
>
> Thanks,
>
>
>
> Sharon
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list