Ask questionsUse <boost/integer/integer_log2.hpp> instead
After a batch of most recent PRs, lots of warnings appears on arch linux:
/usr/include/boost/predef/detail/endian_compat.h:11:161: note: #pragma message: The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include <boost/predef/other/endian.h> and use BOOST_ENDIAN_*_BYTE instead
#pragma message("The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include <boost/predef/other/endian.h> and use BOOST_ENDIAN_*_BYTE instead")
/usr/include/boost/pending/integer_log2.hpp:7:59: note: #pragma message: This header is deprecated. Use <boost/integer/integer_log2.hpp> instead.
BOOST_HEADER_DEPRECATED("<boost/integer/integer_log2.hpp>");
For now I don't know if its Monero's fault or Arch's, so I just leave it here for other to view.
Answer
questions
Geremia
@moneroexamples I replaced #include <boost/archive/portable_binary_oarchive.hpp>
with include <boost/predef/other/endian.h>
in src/p2p/net_peerlist.cpp
, and it compiled for me (Boost 0.70).
Related questions