Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: boost, prevent use of std::unary_function (#640)
* build: boost, prevent use of std::unary_function For Boost 1.72 we should use -D_HAS_AUTO_PTR_ETC=0, for newer versions -DBOOST_NO_CXX98_FUNCTION_BASE. - boostorg/container_hash@fd310d2 - boostorg/functional@6a573e4 - bitcoin/bitcoin@880d4aa - bitcoin/bitcoin@d4c59da - DeckerSU/KomodoOcean@0742048 This will remove warnings like the one shown below during build with GCC 13: ``` /home/decker/komodo/depends/x86_64-unknown-linux-gnu/share/../include/boost/container_hash/hash.hpp:130:33: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations] 130 | struct hash_base : std::unary_function<T, std::size_t> {}; | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, from /usr/include/c++/13/ios:44, from /usr/include/c++/13/ostream:40, from /home/decker/komodo/depends/x86_64-unknown-linux-gnu/share/../include/gtest/gtest.h:55, from test-komodo/test_legacy_events.cpp:1: /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ``` * build: add BOOST_CPPFLAGS display for configure
- Loading branch information