[zeromq-dev] compilation problem
mark
markkicks at gmail.com
Mon Jul 28 00:18:23 CEST 2008
i get this error when trying to compile 0.2 version.. any suggestions?
g++ -DHAVE_CONFIG_H -I. -I. -I. -I. -I.. -I.. -g -O2 -MT
bp_decoder.lo -MD -MP-MF .deps/bp_decoder.Tpo -c bp_decoder.cpp -fPIC
-DPIC -o .libs/bp_decoder.o
In file included from bp_decoder.hpp:25,
from bp_decoder.cpp:20:
decoder.hpp: In member function 'void
zmq::decoder_t<T>::write(unsigned char*, size_t)':
decoder.hpp:58: error: there are no arguments to 'memcpy' that depend
on a template parameter, so a declaration of 'memcpy' must be
available
decoder.hpp:58: error: (if you use '-fpermissive', G++ will accept
your code, but allowing the use of an undeclared name is deprecated)
make[2]: *** [bp_decoder.lo] Error 1
make[2]: Leaving directory `/tmp/zmq-0.2/zmq'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/zmq-0.2/zmq'
make: *** [all-recursive] Error 1
More information about the zeromq-dev
mailing list