[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zeromq-dev
Subject:    [zeromq-dev] compilation problem
From:       markkicks () gmail ! com (mark)
Date:       2008-07-27 22:18:23
Message-ID: 82fa9e310807271518s3d5feeeam53d15529689baba3 () mail ! gmail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic