Closed xaya closed 4 years ago
Since possibly an update of ZMQ - on windows, building libxayagame fails with:
error -pedantic -Wno-deprecated -DGLOG_NO_ABBREVIATED_SEVERITIES -MT libxayagame_la-transactionmanager.lo -MD -MP -MF .deps/libxayagame_la-transactionmanager.Tpo -c transactionmanager.cpp -o libxayagame_la-transactionmanager.o >/dev/null 2>&1 mv -f .deps/libxayagame_la-transactionmanager.Tpo .deps/libxayagame_la-transactionmanager.Plo In file included from zmqsubscriber.cpp:7: zmqsubscriber.cpp: In member function 'bool xaya::internal::ZmqSubscriber::ReceiveMultiparts(std::string&, std::string&, uint32_t&)': zmqsubscriber.cpp:91:32: error: 'bool zmq::detail::socket_base::recv(zmq::message_t*, int)' is deprecated: from 4.3.1, use recv taking a reference to message_t and recv_flags [-Werror=deprecated-declarations] 91 | CHECK (socket->recv (&msg)); | ^ In file included from zmqsubscriber.hpp:11, from zmqsubscriber.cpp:5: C:/msys64/mingw64/include/zmq.hpp:1267:10: note: declared here 1267 | bool recv(message_t *msg_, int flags_ = 0) | ^~~~ cc1plus.exe: all warnings being treated as errors make[3]: *** [Makefile:1012: libxayagame_la-zmqsubscriber.lo] Error 1 make[3]: Leaving directory '/home/building/libxayagame/xayagame' make[2]: *** [Makefile:739: all] Error 2 make[2]: Leaving directory '/home/building/libxayagame/xayagame' make[1]: *** [Makefile:439: all-recursive] Error 1 make[1]: Leaving directory '/home/building/libxayagame' make: *** [Makefile:371: all] Error 2
Since possibly an update of ZMQ - on windows, building libxayagame fails with: