[zeromq-dev] 'Null used in arithmetic' compiler error

Claudio Carbone erupter at libero.it
Mon Dec 17 12:53:51 CET 2012


I'm compiling 3.2.2 on an embedded debian (armv5) and the compiler 
throws this error:

make[2]: Entering directory `/root/zeromq-3.2.2/src'
   CXX    libzmq_la-address.lo
   CXX    libzmq_la-clock.lo
   CXX    libzmq_la-ctx.lo
   CXX    libzmq_la-decoder.lo
cc1plus: warnings being treated as errors
In file included from decoder.cpp:31:
decoder.hpp: In member function 'bool zmq::decoder_base_t<T>::stalled() 
[with T = zmq::decoder_t]':
decoder.cpp:166:   instantiated from here
decoder.hpp:152: error: NULL used in arithmetic
make[2]: *** [libzmq_la-decoder.lo] Error 1
make[2]: Leaving directory `/root/zeromq-3.2.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/zeromq-3.2.2/src'
make: *** [all-recursive] Error 1

Since this is all done by autoconfig how can I disable the strict error 
checking or alternatively allow it to compile?

Claudio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121217/aa2a2f93/attachment.htm>


More information about the zeromq-dev mailing list