net-p2p/libtorrent
BitTorrent Library
| Flavor | Version | Run | OSVersion | Arch | License | Restricted | Status | |
|---|---|---|---|---|---|---|---|---|
| 0.13.8 | 621 | 4.0 | amd64 | gpl2 gpl3 | 0 | fail |
License Permissions:
Events
| Machine | Type | Time | Message |
|---|---|---|---|
| m4064b | info | 2025-12-04 23:31:13.87969 | Test Started |
| m4064b | fail | 2025-12-04 23:33:36.867654 | make build returned non-zero: 1 |
| m4064b | fail | 2025-12-04 23:33:36.936871 | Test complete. |
Log
[1m===> Building for libtorrent-0.13.8[0m
--- all ---
/usr/bin/make all-recursive
--- all-recursive ---
Making all in src
--- all-recursive ---
Making all in torrent
--- all-recursive ---
Making all in data
--- block.lo ---
--- block_list.lo ---
--- chunk_utils.lo ---
--- download_data.lo ---
--- file.lo ---
--- file_list.lo ---
--- file_list_iterator.lo ---
--- file_manager.lo ---
--- file_utils.lo ---
--- transfer_list.lo ---
--- block.lo ---
/bin/sh ../../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT block.lo -MD -MP -MF .deps/block.Tpo -c -o block.lo block.cc
--- block_list.lo ---
/bin/sh ../../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT block_list.lo -MD -MP -MF .deps/block_list.Tpo -c -o block_list.lo block_list.cc
--- chunk_utils.lo ---
/bin/sh ../../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT chunk_utils.lo -MD -MP -MF .deps/chunk_utils.Tpo -c -o chunk_utils.lo chunk_utils.cc
--- download_data.lo ---
/bin/sh ../../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT download_data.lo -MD -MP -MF .deps/download_data.Tpo -c -o download_data.lo download_data.cc
--- file.lo ---
/bin/sh ../../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT file.lo -MD -MP -MF .deps/file.Tpo -c -o file.lo file.cc
--- file_list.lo ---
/bin/sh ../../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT file_list.lo -MD -MP -MF .deps/file_list.Tpo -c -o file_list.lo file_list.cc
--- file_list_iterator.lo ---
/bin/sh ../../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT file_list_iterator.lo -MD -MP -MF .deps/file_list_iterator.Tpo -c -o file_list_iterator.lo file_list_iterator.cc
--- file_manager.lo ---
/bin/sh ../../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT file_manager.lo -MD -MP -MF .deps/file_manager.Tpo -c -o file_manager.lo file_manager.cc
--- file_utils.lo ---
/bin/sh ../../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT file_utils.lo -MD -MP -MF .deps/file_utils.Tpo -c -o file_utils.lo file_utils.cc
--- transfer_list.lo ---
/bin/sh ../../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT transfer_list.lo -MD -MP -MF .deps/transfer_list.Tpo -c -o transfer_list.lo transfer_list.cc
--- block.lo ---
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT block.lo -MD -MP -MF .deps/block.Tpo -c block.cc -fPIC -DPIC -o .libs/block.o
--- block_list.lo ---
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT block_list.lo -MD -MP -MF .deps/block_list.Tpo -c block_list.cc -fPIC -DPIC -o .libs/block_list.o
--- chunk_utils.lo ---
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT chunk_utils.lo -MD -MP -MF .deps/chunk_utils.Tpo -c chunk_utils.cc -fPIC -DPIC -o .libs/chunk_utils.o
--- download_data.lo ---
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT download_data.lo -MD -MP -MF .deps/download_data.Tpo -c download_data.cc -fPIC -DPIC -o .libs/download_data.o
--- file.lo ---
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT file.lo -MD -MP -MF .deps/file.Tpo -c file.cc -fPIC -DPIC -o .libs/file.o
--- file_manager.lo ---
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT file_manager.lo -MD -MP -MF .deps/file_manager.Tpo -c file_manager.cc -fPIC -DPIC -o .libs/file_manager.o
--- transfer_list.lo ---
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT transfer_list.lo -MD -MP -MF .deps/transfer_list.Tpo -c transfer_list.cc -fPIC -DPIC -o .libs/transfer_list.o
--- file_list.lo ---
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT file_list.lo -MD -MP -MF .deps/file_list.Tpo -c file_list.cc -fPIC -DPIC -o .libs/file_list.o
--- file_list_iterator.lo ---
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT file_list_iterator.lo -MD -MP -MF .deps/file_list_iterator.Tpo -c file_list_iterator.cc -fPIC -DPIC -o .libs/file_list_iterator.o
--- file_utils.lo ---
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -isystem /usr/local/include -I/usr/include -I/usr/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -Wall -fvisibility=hidden -I /usr/include -MT file_utils.lo -MD -MP -MF .deps/file_utils.Tpo -c file_utils.cc -fPIC -DPIC -o .libs/file_utils.o
--- file_manager.lo ---
In file included from file_manager.cc:41:
In file included from ./../../data/socket_file.h:45:
./../../data/memory_chunk.h:158:12: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
158 | char buf[size];
| ^~~~
./../../data/memory_chunk.h:158:12: note: read of non-const variable 'size' is not allowed in a constant expression
./../../data/memory_chunk.h:157:12: note: declared here
157 | uint32_t size = pages_touched(offset, length);
| ^
--- file.lo ---
In file included from file.cc:42:
./../../data/memory_chunk.h:158:12: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
158 | char buf[size];
| ^~~~
./../../data/memory_chunk.h:158:12: note: read of non-const variable 'size' is not allowed in a constant expression
./../../data/memory_chunk.h:157:12: note: declared here
157 | uint32_t size = pages_touched(offset, length);
| ^
--- block.lo ---
In file included from block.cc:41:
../../../rak/functional.h:174:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
174 | struct less2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
In file included from block.cc:41:
../../../rak/functional.h:213:33: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
213 | struct greater2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
In file included from block.cc:41:
../../../rak/functional.h:273:29: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
273 | struct invert : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:174:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
174 | struct less2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- block.lo ---
In file included from block.cc:41:
../../../rak/functional.h:279:27: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
279 | struct on_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- block_list.lo ---
In file included from block_list.cc:42:
./block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions]
132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL");
| ^
./block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification
127 | BlockTransfer::~BlockTransfer() {
| ^
./block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions]
129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL");
| ^
./block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification
127 | BlockTransfer::~BlockTransfer() {
| ^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:213:33: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
213 | struct greater2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- block.lo ---
In file included from block.cc:41:
../../../rak/functional.h:299:28: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
299 | struct on2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- file_utils.lo ---
In file included from file_utils.cc:43:
In file included from ./file_utils.h:41:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:174:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
174 | struct less2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:273:29: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
273 | struct invert : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- block.lo ---
In file included from block.cc:41:
../../../rak/functional.h:320:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
320 | struct mem_ptr_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_list.lo ---
In file included from file_list.cc:50:
../../../rak/functional.h:174:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
174 | struct less2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- file_utils.lo ---
In file included from file_utils.cc:43:
In file included from ./file_utils.h:41:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:213:33: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
213 | struct greater2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- transfer_list.lo ---
In file included from transfer_list.cc:42:
../../../rak/functional.h:174:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
174 | struct less2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:279:27: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
279 | struct on_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- block.lo ---
In file included from block.cc:41:
../../../rak/functional.h:341:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
341 | struct mem_ref_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- block_list.lo ---
block_list.cc:87:38: error: no member named 'mem_fun_ref' in namespace 'std'
87 | std::for_each(begin(), end(), std::mem_fun_ref(&Block::failed_leader));
| ~~~~~^
--- file_list.lo ---
In file included from file_list.cc:50:
../../../rak/functional.h:213:33: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
213 | struct greater2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- file_utils.lo ---
In file included from file_utils.cc:43:
In file included from ./file_utils.h:41:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:273:29: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
273 | struct invert : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_manager.lo ---
In file included from file_manager.cc:46:
In file included from ./../../manager.h:42:
In file included from ../../../rak/priority_queue_default.h:42:
../../../rak/priority_queue.h:84:46: error: no member named 'bind2nd' in namespace 'std'; did you mean 'find_end'?
84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key));
| ~~~~~^~~~~~~
| find_end
/usr/include/c++/v1/__algorithm/find_end.h:208:96: note: 'find_end' declared here
208 | _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _ForwardIterator1 find_end(
| ^
In file included from file_manager.cc:46:
In file included from ./../../manager.h:42:
In file included from ../../../rak/priority_queue_default.h:42:
../../../rak/priority_queue.h:117:17: warning: 'iterator' is deprecated [-Wdeprecated-declarations]
117 | : public std::iterator {
| ^
/usr/include/c++/v1/__iterator/iterator.h:23:29: note: 'iterator' has been explicitly marked deprecated here
23 | struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator {
| ^
/usr/include/c++/v1/__config:748:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
748 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
| ^
/usr/include/c++/v1/__config:713:49: note: expanded from macro '_LIBCPP_DEPRECATED'
713 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
| ^
--- transfer_list.lo ---
In file included from transfer_list.cc:42:
../../../rak/functional.h:213:33: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
213 | struct greater2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:299:28: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
299 | struct on2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
--- block_list.lo ---
block_list.cc:88:38: error: no member named 'mem_fun_ref' in namespace 'std'
--- download_data.lo ---
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- block_list.lo ---
88 | std::for_each(begin(), end(), std::mem_fun_ref(&Block::retry_transfer));
| ~~~~~^
--- block.lo ---
In file included from block.cc:41:
../../../rak/functional.h:352:38: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
352 | struct const_mem_ref_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_list.lo ---
In file included from file_list.cc:50:
../../../rak/functional.h:273:29: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
273 | struct invert : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
--- file_utils.lo ---
In file included from file_utils.cc:43:
In file included from ./file_utils.h:41:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:279:27: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
279 | struct on_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_list.lo ---
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:320:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
320 | struct mem_ptr_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- transfer_list.lo ---
In file included from transfer_list.cc:42:
../../../rak/functional.h:273:29: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
273 | struct invert : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- block.lo ---
In file included from block.cc:41:
../../../rak/functional.h:395:34: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
395 | struct call_delete : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_list.lo ---
In file included from file_list.cc:50:
../../../rak/functional.h:279:27: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
279 | struct on_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_utils.lo ---
In file included from file_utils.cc:43:
In file included from ./file_utils.h:41:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:299:28: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
299 | struct on2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- transfer_list.lo ---
In file included from transfer_list.cc:42:
../../../rak/functional.h:279:27: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
279 | struct on_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- block.lo ---
In file included from block.cc:41:
../../../rak/functional.h:408:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
408 | class bind1st_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:341:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
341 | struct mem_ref_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
--- block.lo ---
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- download_data.lo ---
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_utils.lo ---
In file included from file_utils.cc:43:
In file included from ./file_utils.h:41:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:320:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
320 | struct mem_ptr_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_list.lo ---
In file included from file_list.cc:50:
../../../rak/functional.h:299:28: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
299 | struct on2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- file.lo ---
In file included from file.cc:48:
In file included from ./../../globals.h:41:
In file included from ../../../rak/priority_queue_default.h:42:
../../../rak/priority_queue.h:84:46: error: no member named 'bind2nd' in namespace 'std'; did you mean 'find_end'?
84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key));
| ~~~~~^~~~~~~
| find_end
/usr/include/c++/v1/__algorithm/find_end.h:208:96: note: 'find_end' declared here
208 | _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _ForwardIterator1 find_end(
| ^
In file included from file.cc:48:
In file included from ./../../globals.h:41:
In file included from ../../../rak/priority_queue_default.h:42:
../../../rak/priority_queue.h:117:17: warning: 'iterator' is deprecated [-Wdeprecated-declarations]
117 | : public std::iterator {
| ^
/usr/include/c++/v1/__iterator/iterator.h:23:29: note: 'iterator' has been explicitly marked deprecated here
23 | struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator {
| ^
/usr/include/c++/v1/__config:748:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
748 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
| ^
/usr/include/c++/v1/__config:713:49: note: expanded from macro '_LIBCPP_DEPRECATED'
713 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
| ^
--- transfer_list.lo ---
In file included from transfer_list.cc:42:
../../../rak/functional.h:299:28: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
299 | struct on2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- block.lo ---
In file included from block.cc:41:
../../../rak/functional.h:433:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
433 | class bind2nd_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:352:38: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
352 | struct const_mem_ref_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_utils.lo ---
In file included from file_utils.cc:43:
In file included from ./file_utils.h:41:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:341:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
341 | struct mem_ref_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_list.lo ---
In file included from file_list.cc:50:
../../../rak/functional.h:320:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
320 | struct mem_ptr_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- chunk_utils.lo ---
In file included from chunk_utils.cc:43:
In file included from ./../../manager.h:42:
In file included from ../../../rak/priority_queue_default.h:42:
../../../rak/priority_queue.h:84:46: error: no member named 'bind2nd' in namespace 'std'; did you mean 'find_end'?
84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key));
| ~~~~~^~~~~~~
| find_end
/usr/include/c++/v1/__algorithm/find_end.h:208:96: note: 'find_end' declared here
208 | _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _ForwardIterator1 find_end(
| ^
In file included from chunk_utils.cc:43:
In file included from ./../../manager.h:42:
In file included from ../../../rak/priority_queue_default.h:42:
../../../rak/priority_queue.h:117:17: warning: 'iterator' is deprecated [-Wdeprecated-declarations]
--- transfer_list.lo ---
In file included from transfer_list.cc:42:
../../../rak/functional.h:320:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
--- chunk_utils.lo ---
117 | : public std::iterator {
| ^
/usr/include/c++/v1/__iterator/iterator.h:23:29: note: 'iterator' has been explicitly marked deprecated here
23 | struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator {
| ^
--- transfer_list.lo ---
320 | struct mem_ptr_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
--- chunk_utils.lo ---
/usr/include/c++/v1/__config:748:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
748 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
| ^
/usr/include/c++/v1/__config:713:49: note: expanded from macro '_LIBCPP_DEPRECATED'
713 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
| ^
--- transfer_list.lo ---
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:395:34: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
395 | struct call_delete : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- block.lo ---
In file included from block.cc:41:
../../../rak/functional.h:551:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
551 | class mem_fun2 : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- file_utils.lo ---
In file included from file_utils.cc:43:
In file included from ./file_utils.h:41:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:352:38: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
352 | struct const_mem_ref_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_list.lo ---
In file included from file_list.cc:50:
../../../rak/functional.h:341:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
341 | struct mem_ref_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- transfer_list.lo ---
In file included from transfer_list.cc:42:
../../../rak/functional.h:341:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
341 | struct mem_ref_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:408:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
408 | class bind1st_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_utils.lo ---
In file included from file_utils.cc:43:
In file included from ./file_utils.h:41:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:395:34: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
395 | struct call_delete : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_list.lo ---
In file included from file_list.cc:50:
../../../rak/functional.h:352:38: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
352 | struct const_mem_ref_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- transfer_list.lo ---
In file included from transfer_list.cc:42:
../../../rak/functional.h:352:38: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
352 | struct const_mem_ref_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:433:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
433 | class bind2nd_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_utils.lo ---
In file included from file_utils.cc:43:
In file included from ./file_utils.h:41:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:408:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
408 | class bind1st_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_list.lo ---
In file included from file_list.cc:50:
../../../rak/functional.h:395:34: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
395 | struct call_delete : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- transfer_list.lo ---
In file included from transfer_list.cc:42:
../../../rak/functional.h:395:34: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
395 | struct call_delete : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- download_data.lo ---
In file included from download_data.cc:41:
In file included from ./download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:551:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
551 | class mem_fun2 : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- file_utils.lo ---
In file included from file_utils.cc:43:
In file included from ./file_utils.h:41:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:433:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
433 | class bind2nd_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_list.lo ---
In file included from file_list.cc:50:
../../../rak/functional.h:408:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
408 | class bind1st_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- transfer_list.lo ---
In file included from transfer_list.cc:42:
../../../rak/functional.h:408:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
408 | class bind1st_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
In file included from transfer_list.cc:42:
../../../rak/functional.h:433:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
433 | class bind2nd_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_list.lo ---
In file included from file_list.cc:50:
../../../rak/functional.h:433:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
433 | class bind2nd_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- transfer_list.lo ---
In file included from transfer_list.cc:42:
../../../rak/functional.h:551:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
551 | class mem_fun2 : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- file_utils.lo ---
In file included from file_utils.cc:43:
In file included from ./file_utils.h:41:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:551:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
551 | class mem_fun2 : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- file_list.lo ---
In file included from file_list.cc:50:
../../../rak/functional.h:551:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
551 | class mem_fun2 : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
In file included from file_list.cc:52:
In file included from ./../../data/chunk.h:44:
In file included from ./../../data/chunk_part.h:40:
./../../data/memory_chunk.h:158:12: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
158 | char buf[size];
| ^~~~
./../../data/memory_chunk.h:158:12: note: read of non-const variable 'size' is not allowed in a constant expression
./../../data/memory_chunk.h:157:12: note: declared here
157 | uint32_t size = pages_touched(offset, length);
| ^
--- block_list.lo ---
2 warnings and 2 errors generated.
--- transfer_list.lo ---
In file included from transfer_list.cc:45:
In file included from ./../../data/chunk.h:44:
In file included from ./../../data/chunk_part.h:40:
./../../data/memory_chunk.h:158:12: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
158 | char buf[size];
| ^~~~
./../../data/memory_chunk.h:158:12: note: read of non-const variable 'size' is not allowed in a constant expression
./../../data/memory_chunk.h:157:12: note: declared here
157 | uint32_t size = pages_touched(offset, length);
| ^
--- block_list.lo ---
*** [block_list.lo] Error code 1
make[4]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent/data
--- file_list.lo ---
In file included from file_list.cc:52:
./../../data/chunk.h:124:44: error: no member named 'bind2nd' in namespace 'std'
124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr));
| ~~~~~^
./../../data/chunk.h:124:57: error: no member named 'mem_fun_ref' in namespace 'std'
124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr));
| ~~~~~^
--- transfer_list.lo ---
In file included from transfer_list.cc:45:
./../../data/chunk.h:124:44: error: no member named 'bind2nd' in namespace 'std'
124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr));
| ~~~~~^
./../../data/chunk.h:124:57: error: no member named 'mem_fun_ref' in namespace 'std'
124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr));
| ~~~~~^
In file included from transfer_list.cc:48:
./block_failed.h:96:38: error: no member named 'ptr_fun' in namespace 'std'
96 | std::for_each(begin(), end(), std::ptr_fun(&BlockFailed::delete_entry));
| ~~~~~^
./block_failed.h:101:48: error: no member named 'ptr_fun' in namespace 'std'
101 | return std::max_element(begin(), end(), std::ptr_fun(&BlockFailed::compare_entries));
| ~~~~~^
./block_failed.h:106:50: error: no member named 'ptr_fun' in namespace 'std'
106 | return std::max_element(rbegin(), rend(), std::ptr_fun(&BlockFailed::compare_entries));
| ~~~~~^
--- file_utils.lo ---
In file included from file_utils.cc:43:
In file included from ./file_utils.h:41:
./../../torrent/data/file_list.h:202:61: error: no member named 'bind2nd' in namespace 'std'; did you mean 'rak::bind2nd'?
202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos));
| ^~~~~~~~~~~~
| rak::bind2nd
../../../rak/functional.h:453:1: note: 'rak::bind2nd' declared here
453 | bind2nd(const Operation& op, const Type& val) {
| ^
In file included from file_utils.cc:43:
In file included from ./file_utils.h:41:
./../../torrent/data/file_list.h:202:79: error: no member named 'mem_fun' in namespace 'std'; did you mean 'mem_fn'?
202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos));
| ~~~~~^~~~~~~
| mem_fn
/usr/include/c++/v1/__functional/mem_fn.h:48:81: note: 'mem_fn' declared here
48 | inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __mem_fn<_Rp _Tp::*> mem_fn(_Rp _Tp::*__pm) _NOEXCEPT {
| ^
--- chunk_utils.lo ---
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:174:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
174 | struct less2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- file_utils.lo ---
file_utils.cc:63:21: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
63 | char name[nameSize + 4];
| ^~~~~~~~~~~~
file_utils.cc:63:21: note: read of non-const variable 'nameSize' is not allowed in a constant expression
file_utils.cc:62:16: note: declared here
62 | unsigned int nameSize = srcPath->back().size() + suffix.size();
| ^
--- chunk_utils.lo ---
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:213:33: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
213 | struct greater2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:273:29: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
273 | struct invert : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:279:27: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
279 | struct on_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- transfer_list.lo ---
transfer_list.cc:71:62: error: no member named 'mem_fun' in namespace 'std'; did you mean 'mem_fn'?
71 | return std::find_if(begin(), end(), rak::equal(index, std::mem_fun(&BlockList::index)));
| ~~~~~^~~~~~~
| mem_fn
/usr/include/c++/v1/__functional/mem_fn.h:48:81: note: 'mem_fn' declared here
--- chunk_utils.lo ---
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:299:28: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
299 | struct on2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- transfer_list.lo ---
48 | inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __mem_fn<_Rp _Tp::*> mem_fn(_Rp _Tp::*__pm) _NOEXCEPT {
| ^
transfer_list.cc:76:62: error: no member named 'mem_fun' in namespace 'std'; did you mean 'mem_fn'?
76 | return std::find_if(begin(), end(), rak::equal(index, std::mem_fun(&BlockList::index)));
| ~~~~~^~~~~~~
| mem_fn
/usr/include/c++/v1/__functional/mem_fn.h:48:81: note: 'mem_fn' declared here
48 | inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __mem_fn<_Rp _Tp::*> mem_fn(_Rp _Tp::*__pm) _NOEXCEPT {
| ^
--- chunk_utils.lo ---
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:320:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
320 | struct mem_ptr_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- download_data.lo ---
12 errors generated.
--- file_list.lo ---
In file included from file_list.cc:61:
./file_list.h:202:61: error: no member named 'bind2nd' in namespace 'std'; did you mean 'rak::bind2nd'?
202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos));
| ^~~~~~~~~~~~
| rak::bind2nd
../../../rak/functional.h:453:1: note: 'rak::bind2nd' declared here
453 | bind2nd(const Operation& op, const Type& val) {
| ^
In file included from file_list.cc:61:
./file_list.h:202:79: error: no member named 'mem_fun' in namespace 'std'; did you mean 'mem_fn'?
202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos));
| ~~~~~^~~~~~~
| mem_fn
/usr/include/c++/v1/__functional/mem_fn.h:48:81: note: 'mem_fn' declared here
48 | inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __mem_fn<_Rp _Tp::*> mem_fn(_Rp _Tp::*__pm) _NOEXCEPT {
| ^
--- file_manager.lo ---
In file included from file_manager.cc:46:
In file included from ./../../manager.h:42:
In file included from ../../../rak/priority_queue_default.h:42:
../../../rak/priority_queue.h:84:41: error: no matching function for call to 'find_end'
84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key));
| ^~~~~~~~~~~~
../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here
113 | if (queue->find(item) != queue->end())
| ^
/usr/include/c++/v1/__algorithm/find_end.h:208:96: note: candidate function template not viable: requires 5 arguments, but 2 were provided
208 | _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _ForwardIterator1 find_end(
| ^
209 | _ForwardIterator1 __first1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
210 | _ForwardIterator1 __last1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
211 | _ForwardIterator2 __first2,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
212 | _ForwardIterator2 __last2,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
213 | _BinaryPredicate __pred) {
| ~~~~~~~~~~~~~~~~~~~~~~~
--- chunk_utils.lo ---
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:341:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
341 | struct mem_ref_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- download_data.lo ---
*** [download_data.lo] Error code 1
make[4]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent/data
--- chunk_utils.lo ---
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:352:38: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
352 | struct const_mem_ref_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:395:34: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
395 | struct call_delete : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:408:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
408 | class bind1st_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- transfer_list.lo ---
fatal error: too many errors emitted, stopping now [-ferror-limit=]
--- chunk_utils.lo ---
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:433:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
433 | class bind2nd_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- transfer_list.lo ---
1 warning and 20 errors generated.
--- chunk_utils.lo ---
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:41:
../../../rak/functional.h:551:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
551 | class mem_fun2 : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- file_list.lo ---
In file included from file_list.cc:63:
In file included from ./../../manager.h:42:
In file included from ../../../rak/priority_queue_default.h:42:
../../../rak/priority_queue.h:84:41: error: no member named 'bind2nd' in namespace 'std'; did you mean simply 'bind2nd'?
84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key));
| ^~~~~~~~~~~~
| bind2nd
../../../rak/functional.h:453:1: note: 'bind2nd' declared here
453 | bind2nd(const Operation& op, const Type& val) {
| ^
In file included from file_list.cc:63:
In file included from ./../../manager.h:42:
In file included from ../../../rak/priority_queue_default.h:42:
../../../rak/priority_queue.h:117:17: warning: 'iterator' is deprecated [-Wdeprecated-declarations]
117 | : public std::iterator {
| ^
/usr/include/c++/v1/__iterator/iterator.h:23:29: note: 'iterator' has been explicitly marked deprecated here
23 | struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator {
| ^
/usr/include/c++/v1/__config:748:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
748 | # define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
| ^
/usr/include/c++/v1/__config:713:49: note: expanded from macro '_LIBCPP_DEPRECATED'
713 | # define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
| ^
--- transfer_list.lo ---
*** [transfer_list.lo] Error code 1
make[4]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent/data
--- file.lo ---
In file included from file.cc:48:
In file included from ./../../globals.h:41:
In file included from ../../../rak/priority_queue_default.h:42:
../../../rak/priority_queue.h:84:41: error: no matching function for call to 'find_end'
84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key));
| ^~~~~~~~~~~~
../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here
113 | if (queue->find(item) != queue->end())
| ^
/usr/include/c++/v1/__algorithm/find_end.h:208:96: note: candidate function template not viable: requires 5 arguments, but 2 were provided
208 | _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _ForwardIterator1 find_end(
| ^
209 | _ForwardIterator1 __first1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
210 | _ForwardIterator1 __last1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
211 | _ForwardIterator2 __first2,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
212 | _ForwardIterator2 __last2,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
213 | _BinaryPredicate __pred) {
| ~~~~~~~~~~~~~~~~~~~~~~~
--- file_manager.lo ---
2 warnings and 2 errors generated.
--- file_list_iterator.lo ---
In file included from file_list_iterator.cc:42:
In file included from ./file_list_iterator.h:42:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:174:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
174 | struct less2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- file_manager.lo ---
*** [file_manager.lo] Error code 1
make[4]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent/data
--- file_list_iterator.lo ---
In file included from file_list_iterator.cc:42:
In file included from ./file_list_iterator.h:42:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:213:33: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
213 | struct greater2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
In file included from file_list_iterator.cc:42:
In file included from ./file_list_iterator.h:42:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:273:29: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
273 | struct invert : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
In file included from file_list_iterator.cc:42:
In file included from ./file_list_iterator.h:42:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:279:27: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
279 | struct on_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
In file included from file_list_iterator.cc:42:
In file included from ./file_list_iterator.h:42:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:299:28: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
299 | struct on2_t : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
In file included from file_list_iterator.cc:42:
In file included from ./file_list_iterator.h:42:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:320:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
320 | struct mem_ptr_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file.lo ---
2 warnings and 2 errors generated.
--- file_list_iterator.lo ---
In file included from file_list_iterator.cc:42:
In file included from ./file_list_iterator.h:42:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:341:32: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
341 | struct mem_ref_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
In file included from file_list_iterator.cc:42:
In file included from ./file_list_iterator.h:42:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:352:38: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
352 | struct const_mem_ref_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file.lo ---
*** [file.lo] Error code 1
make[4]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent/data
--- file_list_iterator.lo ---
In file included from file_list_iterator.cc:42:
In file included from ./file_list_iterator.h:42:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:395:34: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
395 | struct call_delete : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
In file included from file_list_iterator.cc:42:
In file included from ./file_list_iterator.h:42:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:408:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
408 | class bind1st_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
In file included from file_list_iterator.cc:42:
In file included from ./file_list_iterator.h:42:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:433:31: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
433 | class bind2nd_t : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
In file included from file_list_iterator.cc:42:
In file included from ./file_list_iterator.h:42:
In file included from ./../../torrent/data/file_list.h:46:
In file included from ./../../torrent/data/download_data.h:45:
In file included from ./../../torrent/utils/ranges.h:44:
../../../rak/functional.h:551:30: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
551 | class mem_fun2 : public std::binary_function {
| ~~~~~^~~~~~~~~~~~~~~
| __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
| ^
--- file_utils.lo ---
1 warning and 14 errors generated.
*** [file_utils.lo] Error code 1
make[4]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent/data
--- file_list_iterator.lo ---
In file included from file_list_iterator.cc:42:
In file included from ./file_list_iterator.h:42:
./../../torrent/data/file_list.h:202:61: error: no member named 'bind2nd' in namespace 'std'; did you mean 'rak::bind2nd'?
202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos));
| ^~~~~~~~~~~~
| rak::bind2nd
../../../rak/functional.h:453:1: note: 'rak::bind2nd' declared here
453 | bind2nd(const Operation& op, const Type& val) {
| ^
In file included from file_list_iterator.cc:42:
In file included from ./file_list_iterator.h:42:
./../../torrent/data/file_list.h:202:79: error: no member named 'mem_fun' in namespace 'std'; did you mean 'mem_fn'?
202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos));
| ~~~~~^~~~~~~
| mem_fn
/usr/include/c++/v1/__functional/mem_fn.h:48:81: note: 'mem_fn' declared here
48 | inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __mem_fn<_Rp _Tp::*> mem_fn(_Rp _Tp::*__pm) _NOEXCEPT {
| ^
--- block.lo ---
In file included from block.cc:44:
In file included from ./../../protocol/peer_connection_base.h:47:
In file included from ./../../protocol/extensions.h:48:
./../../net/address_list.h:62:36: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
62 | struct add_address : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_list.lo ---
file_list.cc:607:8: error: no member named 'auto_ptr' in namespace 'std'
607 | std::auto_ptr chunk(new Chunk);
| ~~~~~^
file_list.cc:607:17: error: 'Chunk' does not refer to a value
607 | std::auto_ptr chunk(new Chunk);
| ^
./../../torrent/common.h:63:7: note: declared here
63 | class Chunk;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
*** [file_list.lo] Error code 1
make[4]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent/data
--- chunk_utils.lo ---
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:48:
In file included from ./../../download/available_list.h:45:
./../../net/address_list.h:62:36: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
62 | struct add_address : public std::unary_function {
| ~~~~~^~~~~~~~~~~~~~
| __unary_function
/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
| ^
--- file_list_iterator.lo ---
14 errors generated.
*** [file_list_iterator.lo] Error code 1
make[4]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent/data
--- block.lo ---
In file included from block.cc:44:
In file included from ./../../protocol/peer_connection_base.h:50:
In file included from ./../../protocol/request_list.h:46:
In file included from ./../../globals.h:41:
In file included from ../../../rak/priority_queue_default.h:42:
../../../rak/priority_queue.h:84:41: error: no member named 'bind2nd' in namespace 'std'; did you mean simply 'bind2nd'?
84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key));
| ^~~~~~~~~~~~
| bind2nd
../../../rak/functional.h:453:1: note: 'bind2nd' declared here
453 | bind2nd(const Operation& op, const Type& val) {
| ^
--- chunk_utils.lo ---
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:52:
./../../torrent/data/file_list.h:202:61: error: no member named 'bind2nd' in namespace 'std'; did you mean 'rak::bind2nd'?
202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos));
| ^~~~~~~~~~~~
| rak::bind2nd
../../../rak/functional.h:453:1: note: 'rak::bind2nd' declared here
453 | bind2nd(const Operation& op, const Type& val) {
| ^
In file included from chunk_utils.cc:46:
In file included from ./../../download/download_wrapper.h:41:
In file included from ./../../download/download_main.h:52:
./../../torrent/data/file_list.h:202:79: error: no member named 'mem_fun' in namespace 'std'; did you mean 'mem_fn'?
202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos));
| ~~~~~^~~~~~~
| mem_fn
/usr/include/c++/v1/__functional/mem_fn.h:48:81: note: 'mem_fn' declared here
48 | inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __mem_fn<_Rp _Tp::*> mem_fn(_Rp _Tp::*__pm) _NOEXCEPT {
| ^
--- block.lo ---
In file included from block.cc:47:
./block_failed.h:96:38: error: no member named 'ptr_fun' in namespace 'std'
96 | std::for_each(begin(), end(), std::ptr_fun(&BlockFailed::delete_entry));
| ~~~~~^
./block_failed.h:101:48: error: no member named 'ptr_fun' in namespace 'std'
101 | return std::max_element(begin(), end(), std::ptr_fun(&BlockFailed::compare_entries));
| ~~~~~^
./block_failed.h:106:50: error: no member named 'ptr_fun' in namespace 'std'
106 | return std::max_element(rbegin(), rend(), std::ptr_fun(&BlockFailed::compare_entries));
| ~~~~~^
block.cc:68:51: error: no member named 'bind1st' in namespace 'std'; did you mean 'rak::bind1st'?
68 | std::for_each(m_queued.begin(), m_queued.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this));
| ^~~~~~~~~~~~
| rak::bind1st
../../../rak/functional.h:428:1: note: 'rak::bind1st' declared here
428 | bind1st(const Operation& op, const Type& val) {
| ^
block.cc:68:69: error: no member named 'mem_fun' in namespace 'std'; did you mean 'mem_fn'?
68 | std::for_each(m_queued.begin(), m_queued.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this));
| ~~~~~^~~~~~~
| mem_fn
/usr/include/c++/v1/__functional/mem_fn.h:48:81: note: 'mem_fn' declared here
48 | inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __mem_fn<_Rp _Tp::*> mem_fn(_Rp _Tp::*__pm) _NOEXCEPT {
| ^
--- chunk_utils.lo ---
In file included from chunk_utils.cc:49:
In file included from ./../../data/chunk.h:44:
In file included from ./../../data/chunk_part.h:40:
./../../data/memory_chunk.h:158:12: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
158 | char buf[size];
| ^~~~
./../../data/memory_chunk.h:158:12: note: read of non-const variable 'size' is not allowed in a constant expression
./../../data/memory_chunk.h:157:12: note: declared here
157 | uint32_t size = pages_touched(offset, length);
| ^
--- block.lo ---
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
--- chunk_utils.lo ---
In file included from chunk_utils.cc:49:
./../../data/chunk.h:124:44: error: no member named 'bind2nd' in namespace 'std'
124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr));
| ~~~~~^
./../../data/chunk.h:124:57: error: no member named 'mem_fun_ref' in namespace 'std'
124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr));
| ~~~~~^
--- block.lo ---
*** [block.lo] Error code 1
make[4]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent/data
--- chunk_utils.lo ---
In file included from chunk_utils.cc:43:
In file included from ./../../manager.h:42:
In file included from ../../../rak/priority_queue_default.h:42:
../../../rak/priority_queue.h:84:41: error: no matching function for call to 'find_end'
84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key));
| ^~~~~~~~~~~~
../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here
113 | if (queue->find(item) != queue->end())
| ^
/usr/include/c++/v1/__algorithm/find_end.h:208:96: note: candidate function template not viable: requires 5 arguments, but 2 were provided
208 | _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _ForwardIterator1 find_end(
| ^
209 | _ForwardIterator1 __first1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
210 | _ForwardIterator1 __last1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
211 | _ForwardIterator2 __first2,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
212 | _ForwardIterator2 __last2,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
213 | _BinaryPredicate __pred) {
| ~~~~~~~~~~~~~~~~~~~~~~~
2 warnings and 19 errors generated.
*** [chunk_utils.lo] Error code 1
make[4]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent/data
10 errors
make[4]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent/data
make[3]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src/torrent
make[2]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8/src
make[1]: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8
make: stopped in /magus/work/usr/mports/net-p2p/libtorrent/work/libtorrent-0.13.8
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/mports/net-p2p/libtorrent
Links
Depends On
- devel/autoconf (build)
- devel/automake (build)
- devel/libtool (build)
- devel/pkgconf (build)
Depend Of
Categories
CVEs
- Loading CVE information...
MidnightBSD Magus