INFO: not using any hashes in /data/userland-archives/hashes for rtorrent-0.9.8.tar.gz (overridden with --hash) Source /data/userland-archives/rtorrent-0.9.8.tar.gz... cached validating signature... checking local signature... not found signature validation failed validating hash... ok patching file rak/string_manip.h Hunk #1 succeeded at 194 (offset 4 lines). Hunk #2 succeeded at 216 (offset 4 lines). symlink cloning /jenkins/jobs/oi-userland/workspace/components/network/rtorrent/rtorrent-0.9.8 to /jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64 checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for ranlib... ranlib checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether /usr/gcc/13/bin/g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /usr/gcc/13/bin/g++... gcc3 checking build system type... x86_64-pc-solaris2.11 checking host system type... x86_64-pc-solaris2.11 checking how to print strings... print -r checking for gcc... /usr/gcc/13/bin/gcc checking whether we are using the GNU C compiler... yes checking whether /usr/gcc/13/bin/gcc accepts -g... yes checking for /usr/gcc/13/bin/gcc option to accept ISO C89... none needed checking whether /usr/gcc/13/bin/gcc understands -c and -o together... yes checking dependency style of /usr/gcc/13/bin/gcc... gcc3 checking for a sed that does not truncate output... /usr/bin/gsed checking for grep that handles long lines and -e... /usr/bin/ggrep checking for egrep... /usr/bin/ggrep -E checking for fgrep... /usr/bin/ggrep -F checking for ld used by /usr/gcc/13/bin/gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/amd64/nm -p checking the name lister (/usr/bin/amd64/nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 786240 checking how to convert x86_64-pc-solaris2.11 file names to x86_64-pc-solaris2.11 format... func_convert_file_noop checking how to convert x86_64-pc-solaris2.11 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/amd64/nm -p output from /usr/gcc/13/bin/gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... /usr/gcc/13/bin/gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if /usr/gcc/13/bin/gcc supports -fno-rtti -fno-exceptions... no checking for /usr/gcc/13/bin/gcc option to produce PIC... -fPIC -DPIC checking if /usr/gcc/13/bin/gcc PIC flag -fPIC -DPIC works... yes checking if /usr/gcc/13/bin/gcc static flag -static works... no checking if /usr/gcc/13/bin/gcc supports -c -o file.o... yes checking if /usr/gcc/13/bin/gcc supports -c -o file.o... (cached) yes checking whether the /usr/gcc/13/bin/gcc linker (/usr/bin/ld -64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... solaris2.11 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... /usr/gcc/13/bin/g++ -E checking for ld used by /usr/gcc/13/bin/g++... /usr/bin/ld -64 checking if the linker (/usr/bin/ld -64) is GNU ld... no checking whether the /usr/gcc/13/bin/g++ linker (/usr/bin/ld -64) supports shared libraries... yes checking for /usr/gcc/13/bin/g++ option to produce PIC... -fPIC -DPIC checking if /usr/gcc/13/bin/g++ PIC flag -fPIC -DPIC works... yes checking if /usr/gcc/13/bin/g++ static flag -static works... no checking if /usr/gcc/13/bin/g++ supports -c -o file.o... yes checking if /usr/gcc/13/bin/g++ supports -c -o file.o... (cached) yes checking whether the /usr/gcc/13/bin/g++ linker (/usr/bin/ld -64) supports shared libraries... yes checking dynamic linker characteristics... solaris2.11 ld.so checking how to hardcode library paths into programs... immediate checking for user-defined CFLAGS... user-defined "-m64 -O3 " checking for user-defined CXXFLAGS... user-defined "-m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses" checking whether /usr/gcc/13/bin/g++ supports C++11 features by default... yes checking should use TR1 headers... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for execinfo.h... yes checking for sysroot... no checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking for statvfs... ok checking whether pthreads work with -pthreads... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_REENTRANT checking for PTHREAD_PRIO_INHERIT... yes checking for pkg-config... /usr/bin/amd64/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ncursesw via pkg-config... no checking for ncursesw via fallback... checking for initscr() with -lncursesw... yes checking for nodelay() with -lncursesw... yes checking for working ncursesw/curses.h... no checking for working ncursesw.h... no checking for working ncurses.h... yes checking for libcurl... yes checking for cppunit... yes checking for libtorrent >= 0.13.8... yes checking for XMLRPC-C... ignored checking for posix_memalign... yes checking for cacheline... using default 128 bytes checking for __builtin_popcount... yes checking if compiler supports __attribute__((unused))... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating src/core/Makefile config.status: creating src/display/Makefile config.status: creating src/input/Makefile config.status: creating src/rpc/Makefile config.status: creating src/ui/Makefile config.status: creating src/utils/Makefile config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands /usr/gnu/bin/make all-recursive make[1]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64' Making all in doc make[2]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/doc' Making all in src make[2]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src' Making all in core make[3]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/core' /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT curl_get.o -MD -MP -MF .deps/curl_get.Tpo -c -o curl_get.o curl_get.cc In file included from ./../globals.h:41, from curl_get.cc:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from curl_get.cc:40: curl_get.cc: In member function 'double core::CurlGet::size_done()': curl_get.cc:136:31: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] 136 | curl_easy_getinfo(m_handle, CURLINFO_SIZE_DOWNLOAD, &d); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2862:3: note: declared here 2862 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ curl_get.cc: In member function 'double core::CurlGet::size_total()': curl_get.cc:144:31: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] 144 | curl_easy_getinfo(m_handle, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &d); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2879:3: note: declared here 2879 | CURLINFO_CONTENT_LENGTH_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438, from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/bits/locale_classes.h:40, from /usr/gcc/13/include/c++/13.2.0/bits/ios_base.h:41, from /usr/gcc/13/include/c++/13.2.0/ios:44, from /usr/gcc/13/include/c++/13.2.0/ostream:40, from /usr/gcc/13/include/c++/13.2.0/iostream:41, from curl_get.cc:39: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/curl_get.Tpo .deps/curl_get.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT curl_socket.o -MD -MP -MF .deps/curl_socket.Tpo -c -o curl_socket.o curl_socket.cc In file included from ./../control.h:43, from curl_socket.cc:46: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' curl_socket.cc: In destructor 'virtual core::CurlSocket::~CurlSocket()': curl_socket.cc:95:5: warning: 'throw' will always call 'terminate' [-Wterminate] 95 | throw torrent::internal_error("CurlSocket::~CurlSocket() m_fileDesc != -1."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl_socket.cc:95:5: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438, from /usr/gcc/13/include/c++/13.2.0/functional:49, from /usr/include/torrent/poll.h:40, from curl_socket.cc:42: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/curl_socket.Tpo .deps/curl_socket.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT curl_stack.o -MD -MP -MF .deps/curl_stack.Tpo -c -o curl_stack.o curl_stack.cc In file included from curl_stack.cc:43: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from curl_stack.cc:41: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from curl_get.h:45, from curl_stack.cc:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' curl_stack.cc: In member function 'bool core::CurlStack::process_done_handle()': curl_stack.cc:136:90: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void*; _Tp = core::CurlGet]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 136 | iterator itr = std::find_if(begin(), end(), rak::equal(msg->easy_handle, std::mem_fun(&CurlGet::handle))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1371:5: note: declared here 1371 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ curl_stack.cc: In member function 'void core::CurlStack::transfer_done(void*, const char*)': curl_stack.cc:158:78: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void*; _Tp = core::CurlGet]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 158 | iterator itr = std::find_if(begin(), end(), rak::equal(handle, std::mem_fun(&CurlGet::handle))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1371:5: note: declared here 1371 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ curl_stack.cc: In member function 'void core::CurlStack::remove_get(core::CurlGet*)': curl_stack.cc:238:65: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = core::CurlGet]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 238 | (itr = std::find_if(begin(), end(), std::not1(std::mem_fun(&CurlGet::is_active)))) != end()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/curl_stack.Tpo .deps/curl_stack.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT dht_manager.o -MD -MP -MF .deps/dht_manager.Tpo -c -o dht_manager.o dht_manager.cc In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from dht_manager.cc:47: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from dht_manager.cc:41: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/bits/locale_classes.h:40, from /usr/gcc/13/include/c++/13.2.0/bits/ios_base.h:41, from /usr/gcc/13/include/c++/13.2.0/ios:44, from /usr/gcc/13/include/c++/13.2.0/istream:40, from /usr/gcc/13/include/c++/13.2.0/fstream:40, from dht_manager.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from dht_manager.cc:49: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/dht_manager.Tpo .deps/dht_manager.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT download.o -MD -MP -MF .deps/download.Tpo -c -o download.o download.cc In file included from download.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from ../../rak/file_stat.h:40, from download.cc:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from download.cc:50: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../control.h:43, from download.cc:52: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/download.Tpo .deps/download.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT download_factory.o -MD -MP -MF .deps/download_factory.Tpo -c -o download_factory.o download_factory.cc In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from download_factory.cc:53: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from download_factory.cc:47: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/bits/locale_classes.h:40, from /usr/gcc/13/include/c++/13.2.0/bits/ios_base.h:41, from /usr/gcc/13/include/c++/13.2.0/ios:44, from /usr/gcc/13/include/c++/13.2.0/istream:40, from /usr/gcc/13/include/c++/13.2.0/fstream:40, from download_factory.cc:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from curl_get.h:45, from download_factory.cc:55: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' download_factory.cc: In member function 'void core::DownloadFactory::receive_success()': download_factory.cc:319:44: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const __cxx11::basic_string&; _Arg2 = rpc::rt_triple; _Result = torrent::Object]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 319 | rak::bind2nd(std::ptr_fun(&rpc::parse_command_multiple_std), rpc::make_target(download))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/download_factory.Tpo .deps/download_factory.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT download_list.o -MD -MP -MF .deps/download_list.Tpo -c -o download_list.o download_list.cc In file included from download_list.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/bits/locale_classes.h:40, from /usr/gcc/13/include/c++/13.2.0/bits/ios_base.h:41, from /usr/gcc/13/include/c++/13.2.0/ios:44, from /usr/gcc/13/include/c++/13.2.0/istream:40, from /usr/gcc/13/include/c++/13.2.0/fstream:40, from download_list.cc:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from download_list.cc:54: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from download_list.cc:49: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../control.h:43, from download_list.cc:56: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' download_list.cc: In member function 'void core::DownloadList::clear()': download_list.cc:83:58: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::DownloadList; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 83 | std::for_each(begin(), end(), std::bind1st(std::mem_fun(&DownloadList::close), this)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ download_list.cc:83:45: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = core::DownloadList*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 83 | std::for_each(begin(), end(), std::bind1st(std::mem_fun(&DownloadList::close), this)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ download_list.cc: In member function 'void core::DownloadList::session_save()': download_list.cc:91:75: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = bool; _Tp = core::DownloadStore; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 91 | unsigned int c = std::count_if(begin(), end(), std::bind1st(std::mem_fun(&DownloadStore::save_resume), control->core()->download_store())); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ download_list.cc:91:62: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = core::DownloadStore*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 91 | unsigned int c = std::count_if(begin(), end(), std::bind1st(std::mem_fun(&DownloadStore::save_resume), control->core()->download_store())); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ download_list.cc: In member function 'std::__cxx11::list::iterator core::DownloadList::find(const torrent::HashString&)': download_list.cc:102:76: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const torrent::DownloadInfo*; _Tp = core::Download]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 102 | return std::find_if(begin(), end(), rak::equal(hash, rak::on(std::mem_fun(&Download::info), std::mem_fun(&torrent::DownloadInfo::hash)))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ download_list.cc:102:107: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const torrent::HashString&; _Tp = torrent::DownloadInfo]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 102 | return std::find_if(begin(), end(), rak::equal(hash, rak::on(std::mem_fun(&Download::info), std::mem_fun(&torrent::DownloadInfo::hash)))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ download_list.cc: In member function 'std::__cxx11::list::iterator core::DownloadList::find_hex(const char*)': download_list.cc:112:75: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const torrent::DownloadInfo*; _Tp = core::Download]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 112 | return std::find_if(begin(), end(), rak::equal(key, rak::on(std::mem_fun(&Download::info), std::mem_fun(&torrent::DownloadInfo::hash)))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ download_list.cc:112:106: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const torrent::HashString&; _Tp = torrent::DownloadInfo]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 112 | return std::find_if(begin(), end(), rak::equal(key, rak::on(std::mem_fun(&Download::info), std::mem_fun(&torrent::DownloadInfo::hash)))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ download_list.cc: In member function 'std::__cxx11::list::iterator core::DownloadList::insert(core::Download*)': download_list.cc:190:110: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::View; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 190 | std::for_each(control->view_manager()->begin(), control->view_manager()->end(), std::bind2nd(std::mem_fun(&View::insert), download)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ download_list.cc:190:97: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = core::Download*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 190 | std::for_each(control->view_manager()->begin(), control->view_manager()->end(), std::bind2nd(std::mem_fun(&View::insert), download)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ download_list.cc:191:110: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::View; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 191 | std::for_each(control->view_manager()->begin(), control->view_manager()->end(), std::bind2nd(std::mem_fun(&View::filter_download), download)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ download_list.cc:191:97: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = core::Download*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 191 | std::for_each(control->view_manager()->begin(), control->view_manager()->end(), std::bind2nd(std::mem_fun(&View::filter_download), download)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ download_list.cc: In member function 'std::__cxx11::list::iterator core::DownloadList::erase(std::__cxx11::list::iterator)': download_list.cc:224:108: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::View; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 224 | std::for_each(control->view_manager()->begin(), control->view_manager()->end(), std::bind2nd(std::mem_fun(&View::erase), *itr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ download_list.cc:224:95: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = core::Download*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 224 | std::for_each(control->view_manager()->begin(), control->view_manager()->end(), std::bind2nd(std::mem_fun(&View::erase), *itr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/download_list.Tpo .deps/download_list.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT download_store.o -MD -MP -MF .deps/download_store.Tpo -c -o download_store.o download_store.cc In file included from ./../globals.h:41, from download.h:47, from download_store.cc:56: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' download_store.cc: In member function 'utils::Directory core::DownloadStore::get_formated_entries()': download_store.cc:199:58: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = const utils::directory_entry&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 199 | d.erase(std::remove_if(d.begin(), d.end(), std::ptr_fun(¬_correct_format)), d.end()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/bits/locale_classes.h:40, from /usr/gcc/13/include/c++/13.2.0/bits/ios_base.h:41, from /usr/gcc/13/include/c++/13.2.0/ios:44, from /usr/gcc/13/include/c++/13.2.0/istream:40, from /usr/gcc/13/include/c++/13.2.0/fstream:40, from download_store.cc:41: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/download_store.Tpo .deps/download_store.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT http_queue.o -MD -MP -MF .deps/http_queue.Tpo -c -o http_queue.o http_queue.cc In file included from http_queue.cc:43: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/unique_ptr.h:37, from /usr/gcc/13/include/c++/13.2.0/memory:78, from http_queue.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from curl_get.h:45, from http_queue.cc:45: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' http_queue.cc: In member function 'std::__cxx11::list::iterator core::HttpQueue::insert(const std::string&, std::iostream*)': http_queue.cc:51:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr h(m_slot_factory()); | ^~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/http_queue.Tpo .deps/http_queue.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.cc In file included from manager.cc:47: ../../rak/regex.h:53:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 53 | class regex : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/bits/locale_classes.h:40, from /usr/gcc/13/include/c++/13.2.0/bits/ios_base.h:41, from /usr/gcc/13/include/c++/13.2.0/ios:44, from /usr/gcc/13/include/c++/13.2.0/istream:40, from /usr/gcc/13/include/c++/13.2.0/fstream:40, from manager.cc:41: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from manager.cc:60: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from manager.cc:51: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from manager.cc:64: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' manager.cc: In member function 'void core::Manager::shutdown(bool)': manager.cc:178:92: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::DownloadList; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 178 | std::for_each(m_downloadList->begin(), m_downloadList->end(), std::bind1st(std::mem_fun(&DownloadList::pause_default), m_downloadList)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ manager.cc:178:79: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = core::DownloadList*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 178 | std::for_each(m_downloadList->begin(), m_downloadList->end(), std::bind1st(std::mem_fun(&DownloadList::pause_default), m_downloadList)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ manager.cc:180:92: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::DownloadList; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 180 | std::for_each(m_downloadList->begin(), m_downloadList->end(), std::bind1st(std::mem_fun(&DownloadList::close_quick), m_downloadList)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ manager.cc:180:79: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = core::DownloadList*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 180 | std::for_each(m_downloadList->begin(), m_downloadList->end(), std::bind1st(std::mem_fun(&DownloadList::close_quick), m_downloadList)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ manager.cc: In function 'void core::path_expand(std::vector >*, const std::string&)': manager.cc:419:104: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = __cxx11::basic_string; _Arg2 = const utils::directory_entry&; _Result = utils::Directory]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 419 | std::transform(itr->begin(), itr->end(), std::back_inserter(nextCache), rak::bind1st(std::ptr_fun(&path_expand_transform), itr->path() + (itr->path() == "/" ? "" : "/"))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ manager.cc:426:104: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = const __cxx11::basic_string&; _Tp = utils::Directory]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 426 | std::transform(currentCache.begin(), currentCache.end(), std::back_inserter(*paths), std::mem_fun_ref(&utils::Directory::path)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1383:5: note: declared here 1383 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ manager.cc: In member function 'void core::Manager::receive_hashing_changed()': manager.cc:460:48: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = core::Download]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 460 | std::mem_fun(&Download::is_hash_checking)) != m_hashingView->end_visible(); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/manager.Tpo .deps/manager.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT poll_manager.o -MD -MP -MF .deps/poll_manager.Tpo -c -o poll_manager.o poll_manager.cc In file included from ./../globals.h:41, from poll_manager.cc:46: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438, from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/stdexcept:39, from poll_manager.cc:39: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/poll_manager.Tpo .deps/poll_manager.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT view.o -MD -MP -MF .deps/view.Tpo -c -o view.o view.cc In file included from view.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from view.cc:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from view.cc:42: ../../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from view.cc:46: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../control.h:43, from view.cc:48: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' view.cc: At global scope: view.cc:57:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 57 | struct view_downloads_compare : std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ view.cc:91:37: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 91 | struct view_downloads_filter : std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ view.cc: In member function 'void core::View::initialize(const std::string&)': view.cc:179:72: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::View; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 179 | std::for_each(dlist->begin(), dlist->end(), rak::bind1st(std::mem_fun(&View::push_back), this)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ view.cc: In member function 'void core::View::insert_visible(core::Download*)': view.cc:361:75: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = core::view_downloads_compare; _Tp = core::Download*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 361 | iterator itr = std::find_if(begin_visible(), end_visible(), std::bind1st(view_downloads_compare(m_sortNew), d)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/view.Tpo .deps/view.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT view_manager.o -MD -MP -MF .deps/view_manager.Tpo -c -o view_manager.o view_manager.cc In file included from view_manager.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from ../../rak/functional.h:41: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from view_manager.cc:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from view_manager.cc:46: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from view_manager.cc:42: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ view_manager.cc: In member function 'rak::unordered_vector::iterator core::ViewManager::find(const std::string&)': view_manager.cc:79:68: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = core::View]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 79 | return std::find_if(begin(), end(), rak::equal(name, std::mem_fun(&View::name))); | ~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ view_manager.cc: In member function 'rak::unordered_vector::iterator core::ViewManager::find_throw(const std::string&)': view_manager.cc:84:76: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = core::View]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 84 | iterator itr = std::find_if(begin(), end(), rak::equal(name, std::mem_fun(&View::name))); | ~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/view_manager.Tpo .deps/view_manager.Po rm -f libsub_core.a ar cru libsub_core.a curl_get.o curl_socket.o curl_stack.o dht_manager.o download.o download_factory.o download_list.o download_store.o http_queue.o manager.o poll_manager.o view.o view_manager.o ranlib libsub_core.a make[3]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/core' Making all in display make[3]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/display' /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT canvas.o -MD -MP -MF .deps/canvas.Tpo -c -o canvas.o canvas.cc In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from canvas.cc:44: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from canvas.cc:42: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/canvas.Tpo .deps/canvas.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT frame.o -MD -MP -MF .deps/frame.Tpo -c -o frame.o frame.cc In file included from frame.cc:42: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from frame.cc:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from window.h:41, from frame.cc:46: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from window.h:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/frame.Tpo .deps/frame.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.cc In file included from manager.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/stdexcept:39, from manager.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from manager.cc:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/manager.Tpo .deps/manager.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.cc In file included from ./../globals.h:41, from ./../core/download.h:47, from utils.cc:57: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from utils.cc:59: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/bits/locale_classes.h:40, from /usr/gcc/13/include/c++/13.2.0/bits/ios_base.h:41, from /usr/gcc/13/include/c++/13.2.0/ios:44, from /usr/gcc/13/include/c++/13.2.0/istream:40, from /usr/gcc/13/include/c++/13.2.0/sstream:40, from utils.cc:41: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ utils.cc: In function 'char* display::print_download_status(char*, char*, core::Download*)': utils.cc:201:32: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 201 | std::mem_fun(&torrent::Tracker::is_busy_not_scrape)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/utils.Tpo .deps/utils.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT text_element_list.o -MD -MP -MF .deps/text_element_list.Tpo -c -o text_element_list.o text_element_list.cc In file included from text_element_list.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from ../../rak/functional.h:41: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from text_element.h:44, from text_element_list.h:40, from text_element_list.cc:43: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/text_element_list.Tpo .deps/text_element_list.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT text_element_string.o -MD -MP -MF .deps/text_element_string.Tpo -c -o text_element_string.o text_element_string.cc In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from text_element_string.cc:41: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from ../../rak/string_manip.h:44, from text_element_string.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/text_element_string.Tpo .deps/text_element_string.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT text_element_value.o -MD -MP -MF .deps/text_element_value.Tpo -c -o text_element_value.o text_element_value.cc In file included from ./../globals.h:41, from text_element_value.cc:41: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from text_element.h:44, from text_element_value.h:43, from text_element_value.cc:42: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from ../../rak/priority_queue_default.h:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/text_element_value.Tpo .deps/text_element_value.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT window.o -MD -MP -MF .deps/window.Tpo -c -o window.o window.cc In file included from window.h:41, from window.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/stdexcept:39, from window.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from window.h:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window.Tpo .deps/window.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT window_download_chunks_seen.o -MD -MP -MF .deps/window_download_chunks_seen.Tpo -c -o window_download_chunks_seen.o window_download_chunks_seen.cc In file included from window_download_chunks_seen.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/stdexcept:39, from window_download_chunks_seen.cc:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from ./../core/download.h:47, from window_download_chunks_seen.cc:48: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' window_download_chunks_seen.cc: In member function 'virtual void display::WindowDownloadChunksSeen::redraw()': window_download_chunks_seen.cc:98:82: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::BlockList]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 98 | std::sort(transferChunks.begin(), transferChunks.end(), rak::less2(std::mem_fun(&torrent::BlockList::index), std::mem_fun(&torrent::BlockList::index))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ window_download_chunks_seen.cc:98:124: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::BlockList]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 98 | std::sort(transferChunks.begin(), transferChunks.end(), rak::less2(std::mem_fun(&torrent::BlockList::index), std::mem_fun(&torrent::BlockList::index))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ window_download_chunks_seen.cc:114:90: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 114 | if (std::find_if((*itrTransfer)->begin(), (*itrTransfer)->end(), std::mem_fun_ref(&torrent::Block::is_transfering)) != (*itrTransfer)->end()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1389:5: note: declared here 1389 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_download_chunks_seen.Tpo .deps/window_download_chunks_seen.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT window_download_list.o -MD -MP -MF .deps/window_download_list.Tpo -c -o window_download_list.o window_download_list.cc In file included from window_download_list.cc:39: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from ../../rak/algorithm.h:41: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from ./../core/download.h:47, from window_download_list.cc:41: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from window_download_list.cc:43: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../core/view.h:55, from window_download_list.cc:42: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_download_list.Tpo .deps/window_download_list.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT window_download_statusbar.o -MD -MP -MF .deps/window_download_statusbar.Tpo -c -o window_download_statusbar.o window_download_statusbar.cc In file included from ./../globals.h:41, from window_download_statusbar.cc:47: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from window.h:41, from window_download_statusbar.h:40, from window_download_statusbar.cc:49: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/refwrap.h:39, from /usr/gcc/13/include/c++/13.2.0/deque:67, from /usr/include/torrent/rate.h:40, from window_download_statusbar.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_download_statusbar.Tpo .deps/window_download_statusbar.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT window_download_transfer_list.o -MD -MP -MF .deps/window_download_transfer_list.Tpo -c -o window_download_transfer_list.o window_download_transfer_list.cc In file included from ./../globals.h:41, from ./../core/download.h:47, from window_download_transfer_list.cc:45: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438, from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/stdexcept:39, from window_download_transfer_list.cc:40: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_download_transfer_list.Tpo .deps/window_download_transfer_list.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT window_file_list.o -MD -MP -MF .deps/window_file_list.Tpo -c -o window_file_list.o window_file_list.cc In file included from ./../globals.h:41, from ./../core/download.h:47, from window_file_list.cc:46: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438, from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/bits/locale_classes.h:40, from /usr/gcc/13/include/c++/13.2.0/locale:41, from window_file_list.cc:39: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_file_list.Tpo .deps/window_file_list.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT window_http_queue.o -MD -MP -MF .deps/window_http_queue.Tpo -c -o window_http_queue.o window_http_queue.cc In file included from ./../core/curl_get.h:45, from window_http_queue.cc:41: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from window_http_queue.cc:45: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/stdexcept:39, from window_http_queue.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ window_http_queue.cc: In member function 'void display::WindowHttpQueue::receive_erase(core::CurlGet*)': window_http_queue.cc:148:112: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = core::CurlGet*; _Tp = display::WindowHttpQueue::Node]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 148 | Container::iterator itr = std::find_if(m_container.begin(), m_container.end(), rak::equal(h, std::mem_fun_ref(&Node::get_http))); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1383:5: note: declared here 1383 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_http_queue.Tpo .deps/window_http_queue.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT window_input.o -MD -MP -MF .deps/window_input.Tpo -c -o window_input.o window_input.cc In file included from window.h:41, from window_input.h:42, from window_input.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from canvas.h:40, from window_input.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from window.h:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_input.Tpo .deps/window_input.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT window_log.o -MD -MP -MF .deps/window_log.Tpo -c -o window_log.o window_log.cc In file included from window.h:41, from window_log.h:42, from window_log.cc:45: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/torrent.h:41, from window_log.cc:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from window.h:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_log.Tpo .deps/window_log.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT window_log_complete.o -MD -MP -MF .deps/window_log_complete.Tpo -c -o window_log_complete.o window_log_complete.cc In file included from window.h:41, from window_log_complete.h:42, from window_log_complete.cc:43: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from canvas.h:40, from window_log_complete.cc:41: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from window.h:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_log_complete.Tpo .deps/window_log_complete.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT window_peer_list.o -MD -MP -MF .deps/window_peer_list.Tpo -c -o window_peer_list.o window_peer_list.cc In file included from ./../globals.h:41, from ./../core/download.h:47, from window_peer_list.cc:47: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from window_peer_list.cc:48: ../../rak/algorithm.h: At global scope: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/stdexcept:39, from window_peer_list.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_peer_list.Tpo .deps/window_peer_list.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT window_statusbar.o -MD -MP -MF .deps/window_statusbar.Tpo -c -o window_statusbar.o window_statusbar.cc In file included from ./../control.h:43, from window_statusbar.cc:42: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from window.h:41, from window_statusbar.h:42, from window_statusbar.cc:45: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/refwrap.h:39, from /usr/gcc/13/include/c++/13.2.0/deque:67, from /usr/include/torrent/rate.h:40, from window_statusbar.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_statusbar.Tpo .deps/window_statusbar.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT window_string_list.o -MD -MP -MF .deps/window_string_list.Tpo -c -o window_string_list.o window_string_list.cc In file included from window.h:41, from window_string_list.h:43, from window_string_list.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from canvas.h:40, from window_string_list.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from window.h:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_string_list.Tpo .deps/window_string_list.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT window_text.o -MD -MP -MF .deps/window_text.Tpo -c -o window_text.o window_text.cc In file included from window_text.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from ../../rak/functional.h:41: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from text_element.h:44, from window_text.h:42, from window_text.cc:44: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from window.h:44, from window_text.h:43: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_text.Tpo .deps/window_text.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT window_title.o -MD -MP -MF .deps/window_title.Tpo -c -o window_title.o window_title.cc In file included from window.h:41, from window_title.h:41, from window_title.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from canvas.h:40, from window_title.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from window.h:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_title.Tpo .deps/window_title.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT window_tracker_list.o -MD -MP -MF .deps/window_tracker_list.Tpo -c -o window_tracker_list.o window_tracker_list.cc In file included from window_tracker_list.cc:39: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from ../../rak/algorithm.h:41: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from ./../core/download.h:47, from window_tracker_list.cc:46: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_tracker_list.Tpo .deps/window_tracker_list.Po rm -f libsub_display.a ar cru libsub_display.a canvas.o frame.o manager.o utils.o text_element_list.o text_element_string.o text_element_value.o window.o window_download_chunks_seen.o window_download_list.o window_download_statusbar.o window_download_transfer_list.o window_file_list.o window_http_queue.o window_input.o window_log.o window_log_complete.o window_peer_list.o window_statusbar.o window_string_list.o window_text.o window_title.o window_tracker_list.o ranlib libsub_display.a make[3]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/display' Making all in input make[3]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/input' /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT bindings.o -MD -MP -MF .deps/bindings.Tpo -c -o bindings.o bindings.cc mv -f .deps/bindings.Tpo .deps/bindings.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT input_event.o -MD -MP -MF .deps/input_event.Tpo -c -o input_event.o input_event.cc mv -f .deps/input_event.Tpo .deps/input_event.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.cc manager.cc: In member function 'void input::Manager::pressed(int)': manager.cc:67:61: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = bool; _Tp = input::Bindings; _Arg = int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 67 | std::find_if(rbegin(), rend(), std::bind2nd(std::mem_fun(&Bindings::pressed), key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from manager.cc:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ manager.cc:67:48: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 67 | std::find_if(rbegin(), rend(), std::bind2nd(std::mem_fun(&Bindings::pressed), key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/manager.Tpo .deps/manager.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT path_input.o -MD -MP -MF .deps/path_input.Tpo -c -o path_input.o path_input.cc In file included from path_input.cc:40: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from path_input.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from path_input.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ path_input.cc: In member function 'input::PathInput::range_type input::PathInput::find_incomplete(utils::Directory&, const std::string&)': path_input.cc:157:72: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const utils::directory_entry&; _Arg2 = const __cxx11::basic_string&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 157 | r.first = std::find_if(d.begin(), d.end(), rak::bind2nd(std::ptr_fun(&find_complete_not_compare), f)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ path_input.cc:158:72: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const utils::directory_entry&; _Arg2 = const __cxx11::basic_string&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 158 | r.second = std::find_if(r.first, d.end(), rak::bind2nd(std::ptr_fun(&find_complete_compare), f)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ mv -f .deps/path_input.Tpo .deps/path_input.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT text_input.o -MD -MP -MF .deps/text_input.Tpo -c -o text_input.o text_input.cc mv -f .deps/text_input.Tpo .deps/text_input.Po rm -f libsub_input.a ar cru libsub_input.a bindings.o input_event.o manager.o path_input.o text_input.o ranlib libsub_input.a make[3]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/input' Making all in rpc make[3]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/rpc' /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command.o -MD -MP -MF .deps/command.Tpo -c -o command.o command.cc In file included from ./../globals.h:41, from ./../core/download.h:47, from command.cc:39: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from command.h:240, from command.cc:42: command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from parse.h:42, from command.cc:40: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438, from /usr/gcc/13/include/c++/13.2.0/bits/refwrap.h:39, from /usr/gcc/13/include/c++/13.2.0/vector:68, from /usr/include/torrent/download.h:41, from ./../core/download.h:40: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command.Tpo .deps/command.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_map.o -MD -MP -MF .deps/command_map.Tpo -c -o command_map.o command_map.cc In file included from ./../globals.h:41, from command_map.cc:45: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from command.h:240, from command_map.cc:49: command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from command_map.cc:41: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from command_map.cc:50: command_map.h: At global scope: command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/refwrap.h:39, from /usr/gcc/13/include/c++/13.2.0/vector:68, from command_map.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In copy constructor 'rpc::command_map_data_type::command_map_data_type(const rpc::command_map_data_type&)', inlined from 'constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = const char*&; _U2 = rpc::command_map_data_type; typename std::enable_if<(std::_PCC::_MoveConstructiblePair<_U1, _U2>() && std::_PCC::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type = true; _T1 = const char* const; _T2 = rpc::command_map_data_type]' at /usr/gcc/13/include/c++/13.2.0/bits/stl_pair.h:688:35, inlined from 'std::map::iterator rpc::CommandMap::insert(std::map::key_type, int, const char*, const char*)' at command_map.cc:87:33: command_map.h:64:47: warning: '.rpc::command_map_data_type::m_anySlot' may be used uninitialized [-Wmaybe-uninitialized] 64 | m_variable(src.m_variable), m_anySlot(src.m_anySlot), | ~~~~^~~~~~~~~ command_map.cc: In member function 'std::map::iterator rpc::CommandMap::insert(std::map::key_type, int, const char*, const char*)': command_map.cc:87:87: note: '' declared here 87 | return base_type::insert(itr, value_type(key, command_map_data_type(flags, parm, doc))); | ^ In copy constructor 'rpc::command_map_data_type::command_map_data_type(const rpc::command_map_data_type&)', inlined from 'constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = const char*&; _U2 = rpc::command_map_data_type; typename std::enable_if<(std::_PCC::_MoveConstructiblePair<_U1, _U2>() && std::_PCC::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type = true; _T1 = const char* const; _T2 = rpc::command_map_data_type]' at /usr/gcc/13/include/c++/13.2.0/bits/stl_pair.h:688:35, inlined from 'void rpc::CommandMap::create_redirect(std::map::key_type, std::map::key_type, int)' at command_map.cc:145:36: command_map.h:64:47: warning: '.rpc::command_map_data_type::m_anySlot' may be used uninitialized [-Wmaybe-uninitialized] 64 | m_variable(src.m_variable), m_anySlot(src.m_anySlot), | ~~~~^~~~~~~~~ command_map.cc: In member function 'void rpc::CommandMap::create_redirect(std::map::key_type, std::map::key_type, int)': command_map.cc:147:100: note: '' declared here 147 | dest_itr->second.m_doc))); | ^ mv -f .deps/command_map.Tpo .deps/command_map.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_scheduler.o -MD -MP -MF .deps/command_scheduler.Tpo -c -o command_scheduler.o command_scheduler.cc In file included from command_scheduler.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from ../../rak/functional.h:41: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from command_scheduler.h:43, from command_scheduler.cc:46: ../../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from command_scheduler_item.h:40, from command_scheduler.cc:47: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from command.h:240, from command_map.h:45, from parse_commands.h:43, from command_scheduler.cc:48: command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from command_scheduler_item.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ command_map.h: At global scope: command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ command_scheduler.cc: In member function 'std::vector::iterator rpc::CommandScheduler::find(const std::string&)': command_scheduler.cc:58:67: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = rpc::CommandSchedulerItem]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 58 | return std::find_if(begin(), end(), rak::equal(key, std::mem_fun(&CommandSchedulerItem::key))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_scheduler.Tpo .deps/command_scheduler.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_scheduler_item.o -MD -MP -MF .deps/command_scheduler_item.Tpo -c -o command_scheduler_item.o command_scheduler_item.cc In file included from ./../globals.h:41, from command_scheduler_item.h:40, from command_scheduler_item.cc:41: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438, from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from command_scheduler_item.cc:39: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_scheduler_item.Tpo .deps/command_scheduler_item.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT exec_file.o -MD -MP -MF .deps/exec_file.Tpo -c -o exec_file.o exec_file.cc In file included from ./../thread_base.h:44, from exec_file.cc:49: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438, from /usr/gcc/13/include/c++/13.2.0/string:49, from exec_file.cc:40: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/exec_file.Tpo .deps/exec_file.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT object_storage.o -MD -MP -MF .deps/object_storage.Tpo -c -o object_storage.o object_storage.cc In file included from command.h:240, from object_storage.h:49, from object_storage.cc:39: command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from object_storage.h:46: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from parse_commands.h:43, from object_storage.cc:43: command_map.h: At global scope: command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/hashtable.h:37, from /usr/gcc/13/include/c++/13.2.0/bits/unordered_map.h:33, from /usr/gcc/13/include/c++/13.2.0/unordered_map:41, from object_storage.h:45: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In copy constructor 'torrent::Object::Object(const torrent::Object&)', inlined from 'rpc::object_storage_node::object_storage_node(rpc::object_storage_node&&)' at object_storage.h:54:8, inlined from 'constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = rpc::fixed_key_type<64>; _U2 = rpc::object_storage_node; typename std::enable_if<(std::_PCC::_MoveConstructiblePair<_U1, _U2>() && std::_PCC::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type = true; _T1 = rpc::fixed_key_type<64>; _T2 = rpc::object_storage_node]' at /usr/gcc/13/include/c++/13.2.0/bits/stl_pair.h:688:35, inlined from 'constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = rpc::fixed_key_type<64>; _T2 = rpc::object_storage_node]' at /usr/gcc/13/include/c++/13.2.0/bits/stl_pair.h:927:72, inlined from 'std::unordered_map, rpc::object_storage_node, rpc::hash_fixed_key_type>::iterator rpc::object_storage::insert(const char*, uint32_t, const torrent::Object&, unsigned int)' at object_storage.cc:128:70: /usr/include/torrent/object.h:350:32: warning: '.rpc::object_storage_node::object.torrent::Object::.torrent::Object::::t_pod' may be used uninitialized [-Wmaybe-uninitialized] 350 | case TYPE_VALUE: t_pod = b.t_pod; break; | ~~~~~~^~~~~~~~~ object_storage.cc: In member function 'std::unordered_map, rpc::object_storage_node, rpc::hash_fixed_key_type>::iterator rpc::object_storage::insert(const char*, uint32_t, const torrent::Object&, unsigned int)': object_storage.cc:128:121: note: '' declared here 128 | std::pair result = base_type::insert(std::make_pair(key_type(key_data, key_size), object_storage_node())); | ^ mv -f .deps/object_storage.Tpo .deps/object_storage.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT parse.o -MD -MP -MF .deps/parse.Tpo -c -o parse.o parse.cc mv -f .deps/parse.Tpo .deps/parse.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT parse_commands.o -MD -MP -MF .deps/parse_commands.Tpo -c -o parse_commands.o parse_commands.cc In file included from parse_commands.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/bits/locale_classes.h:40, from /usr/gcc/13/include/c++/13.2.0/bits/ios_base.h:41, from /usr/gcc/13/include/c++/13.2.0/ios:44, from /usr/gcc/13/include/c++/13.2.0/istream:40, from /usr/gcc/13/include/c++/13.2.0/fstream:40, from parse_commands.cc:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from command.h:240, from command_map.h:45, from parse_commands.h:43, from parse_commands.cc:47: command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from parse.h:42, from parse_commands.cc:46: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ command_map.h: At global scope: command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ parse_commands.cc:55:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 55 | struct command_map_is_space : std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ parse_commands.cc:61:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 61 | struct command_map_is_newline : std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In copy constructor 'torrent::Object::Object(const torrent::Object&)', inlined from 'constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = torrent::Object; _U2 = const char*&; typename std::enable_if<(std::_PCC::_MoveConstructiblePair<_U1, _U2>() && std::_PCC::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type = true; _T1 = torrent::Object; _T2 = const char*]' at /usr/gcc/13/include/c++/13.2.0/bits/stl_pair.h:688:4, inlined from 'constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = torrent::Object; _T2 = const char*&]' at /usr/gcc/13/include/c++/13.2.0/bits/stl_pair.h:927:72, inlined from 'rpc::parse_command_type rpc::parse_command(target_type, const char*, const char*)' at parse_commands.cc:137:51: /usr/include/torrent/object.h:350:32: warning: '.torrent::Object::.torrent::Object::::t_pod' may be used uninitialized [-Wmaybe-uninitialized] 350 | case TYPE_VALUE: t_pod = b.t_pod; break; | ~~~~~~^~~~~~~~~ parse_commands.cc: In function 'rpc::parse_command_type rpc::parse_command(target_type, const char*, const char*)': parse_commands.cc:137:43: note: '' declared here 137 | return std::make_pair(torrent::Object(), first); | ^ mv -f .deps/parse_commands.Tpo .deps/parse_commands.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT scgi.o -MD -MP -MF .deps/scgi.Tpo -c -o scgi.o scgi.cc In file included from ./../control.h:43, from scgi.cc:49: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from scgi.h:41, from scgi.cc:51: ../../rak/functional_fun.h: At global scope: ../../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from ../../rak/socket_address.h:51, from scgi.cc:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from command.h:240, from command_map.h:45, from parse_commands.h:43, from scgi.cc:52: command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ command_map.h: At global scope: command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ scgi.cc: In member function 'virtual void rpc::SCgi::event_read()': scgi.cc:145:79: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = rpc::SCgiTask]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 145 | SCgiTask* task = std::find_if(m_task, m_task + max_tasks, std::mem_fun_ref(&SCgiTask::is_available)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1389:5: note: declared here 1389 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/scgi.Tpo .deps/scgi.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT scgi_task.o -MD -MP -MF .deps/scgi_task.Tpo -c -o scgi_task.o scgi_task.cc In file included from ./../control.h:43, from scgi_task.cc:50: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from scgi.h:41, from scgi_task.cc:52: ../../rak/functional_fun.h: At global scope: ../../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from scgi_task.cc:44: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/scgi_task.Tpo .deps/scgi_task.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT xmlrpc.o -MD -MP -MF .deps/xmlrpc.Tpo -c -o xmlrpc.o xmlrpc.cc In file included from command.h:240, from command_map.h:45, from parse_commands.h:43, from xmlrpc.cc:50: command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from xmlrpc.cc:46: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ command_map.h: At global scope: command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from ../../rak/string_manip.h:44, from xmlrpc.cc:45: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/xmlrpc.Tpo .deps/xmlrpc.Po rm -f libsub_rpc.a ar cru libsub_rpc.a command.o command_map.o command_scheduler.o command_scheduler_item.o exec_file.o object_storage.o parse.o parse_commands.o scgi.o scgi_task.o xmlrpc.o ranlib libsub_rpc.a make[3]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/rpc' Making all in ui make[3]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/ui' /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT download.o -MD -MP -MF .deps/download.Tpo -c -o download.o download.cc In file included from download.cc:39: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from ../../rak/functional.h:41: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from ./../core/download.h:47, from download.cc:50: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../display/text_element.h:44, from ./../display/text_element_string.h:44, from download.cc:56: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ download.cc: In destructor 'virtual ui::Download::~Download()': download.cc:101:5: warning: 'throw' will always call 'terminate' [-Wterminate] 101 | throw torrent::internal_error("ui::Download::~Download() called on an active object."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download.cc:101:5: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/download.Tpo .deps/download.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT download_list.o -MD -MP -MF .deps/download_list.Tpo -c -o download_list.o download_list.cc In file included from download_list.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/bits/locale_classes.h:40, from /usr/gcc/13/include/c++/13.2.0/bits/ios_base.h:41, from /usr/gcc/13/include/c++/13.2.0/ios:44, from /usr/gcc/13/include/c++/13.2.0/istream:40, from /usr/gcc/13/include/c++/13.2.0/sstream:40, from download_list.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from ./../core/download.h:47, from download_list.cc:47: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from download_list.cc:60: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../core/view.h:55, from download_list.cc:50: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ download_list.cc: In destructor 'virtual ui::DownloadList::~DownloadList()': download_list.cc:87:5: warning: 'throw' will always call 'terminate' [-Wterminate] 87 | throw std::logic_error("ui::DownloadList::~DownloadList() called on an active object"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download_list.cc:87:5: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/download_list.Tpo .deps/download_list.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT element_base.o -MD -MP -MF .deps/element_base.Tpo -c -o element_base.o element_base.cc In file included from ./../display/window.h:41, from element_base.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from element_base.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from ./../display/window.h:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/element_base.Tpo .deps/element_base.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT element_chunks_seen.o -MD -MP -MF .deps/element_chunks_seen.Tpo -c -o element_chunks_seen.o element_chunks_seen.cc In file included from ./../display/window.h:41, from ./../display/window_download_chunks_seen.h:42, from element_chunks_seen.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from element_chunks_seen.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from ./../display/window.h:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/element_chunks_seen.Tpo .deps/element_chunks_seen.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT element_download_list.o -MD -MP -MF .deps/element_download_list.Tpo -c -o element_download_list.o element_download_list.cc In file included from ./../globals.h:41, from ./../core/download.h:47, from element_download_list.cc:43: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from element_download_list.cc:50: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from element_download_list.cc:40: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from element_download_list.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/element_download_list.Tpo .deps/element_download_list.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT element_file_list.o -MD -MP -MF .deps/element_file_list.Tpo -c -o element_file_list.o element_file_list.cc In file included from element_file_list.cc:39: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from ../../rak/algorithm.h:41: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../display/manager.h:41, from element_file_list.cc:45: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../display/text_element.h:44, from ./../display/text_element_string.h:44, from element_file_list.cc:46: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/element_file_list.Tpo .deps/element_file_list.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT element_log_complete.o -MD -MP -MF .deps/element_log_complete.Tpo -c -o element_log_complete.o element_log_complete.cc In file included from ./../display/manager.h:41, from element_log_complete.cc:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../display/window.h:41, from ./../display/window_log_complete.h:42, from element_log_complete.cc:45: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from element_log_complete.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/element_log_complete.Tpo .deps/element_log_complete.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT element_menu.o -MD -MP -MF .deps/element_menu.Tpo -c -o element_menu.o element_menu.cc In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../display/text_element.h:44, from ./../display/window_text.h:42, from element_menu.cc:42: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from element_menu.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from ./../display/window.h:44, from ./../display/window_text.h:43: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/element_menu.Tpo .deps/element_menu.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT element_peer_list.o -MD -MP -MF .deps/element_peer_list.Tpo -c -o element_peer_list.o element_peer_list.cc In file included from ./../display/manager.h:41, from element_peer_list.cc:46: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../display/text_element.h:44, from ./../display/text_element_string.h:44, from element_peer_list.cc:47: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from element_peer_list.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ element_peer_list.cc: In constructor 'ui::ElementPeerList::ElementPeerList(core::Download*)': element_peer_list.cc:65:77: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = __cxx11::list; _Arg = torrent::Peer* const&]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 65 | rak::bind1st(std::mem_fun(&PList::push_back), &m_list)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/element_peer_list.Tpo .deps/element_peer_list.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT element_string_list.o -MD -MP -MF .deps/element_string_list.Tpo -c -o element_string_list.o element_string_list.cc In file included from ./../control.h:43, from element_string_list.cc:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../display/window.h:41, from ./../display/window_string_list.h:43, from element_string_list.h:48, from element_string_list.cc:45: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from element_string_list.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/element_string_list.Tpo .deps/element_string_list.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT element_text.o -MD -MP -MF .deps/element_text.Tpo -c -o element_text.o element_text.cc In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../display/text_element.h:44, from ./../display/window_text.h:42, from element_text.cc:42: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from element_text.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from ./../display/window.h:44, from ./../display/window_text.h:43: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/element_text.Tpo .deps/element_text.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT element_tracker_list.o -MD -MP -MF .deps/element_tracker_list.Tpo -c -o element_tracker_list.o element_tracker_list.cc In file included from ./../display/window.h:41, from ./../display/window_tracker_list.h:40, from element_tracker_list.cc:44: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from element_tracker_list.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from ./../display/window.h:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/element_tracker_list.Tpo .deps/element_tracker_list.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT element_transfer_list.o -MD -MP -MF .deps/element_transfer_list.Tpo -c -o element_transfer_list.o element_transfer_list.cc In file included from ./../display/window.h:41, from ./../display/window_download_transfer_list.h:43, from element_transfer_list.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from element_transfer_list.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:41, from ./../display/window.h:44: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/element_transfer_list.Tpo .deps/element_transfer_list.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT root.o -MD -MP -MF .deps/root.Tpo -c -o root.o root.cc In file included from ./../core/curl_stack.h:43, from ./../core/poll_manager.h:40, from ./../core/manager.h:47, from root.cc:48: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../display/window.h:41, from ./../display/window_http_queue.h:42, from root.cc:50: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/bits/locale_classes.h:40, from /usr/gcc/13/include/c++/13.2.0/bits/ios_base.h:41, from /usr/gcc/13/include/c++/13.2.0/ios:44, from /usr/gcc/13/include/c++/13.2.0/istream:40, from /usr/gcc/13/include/c++/13.2.0/fstream:40, from root.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from root.cc:56: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ root.cc: In member function 'void ui::Root::load_input_history()': root.cc:416:23: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 416 | if (delim_pos != std::string::npos) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/root.Tpo .deps/root.Po rm -f libsub_ui.a ar cru libsub_ui.a download.o download_list.o element_base.o element_chunks_seen.o element_download_list.o element_file_list.o element_log_complete.o element_menu.o element_peer_list.o element_string_list.o element_text.o element_tracker_list.o element_transfer_list.o root.o ranlib libsub_ui.a make[3]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/ui' Making all in utils make[3]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/utils' /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT directory.o -MD -MP -MF .deps/directory.Tpo -c -o directory.o directory.cc mv -f .deps/directory.Tpo .deps/directory.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT file_status_cache.o -MD -MP -MF .deps/file_status_cache.Tpo -c -o file_status_cache.o file_status_cache.cc mv -f .deps/file_status_cache.Tpo .deps/file_status_cache.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT lockfile.o -MD -MP -MF .deps/lockfile.Tpo -c -o lockfile.o lockfile.cc mv -f .deps/lockfile.Tpo .deps/lockfile.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT socket_fd.o -MD -MP -MF .deps/socket_fd.Tpo -c -o socket_fd.o socket_fd.cc mv -f .deps/socket_fd.Tpo .deps/socket_fd.Po rm -f libsub_utils.a ar cru libsub_utils.a directory.o file_status_cache.o lockfile.o socket_fd.o ranlib libsub_utils.a make[3]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/utils' make[3]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src' /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc In file included from main.cc:53: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/bits/locale_classes.h:40, from /usr/gcc/13/include/c++/13.2.0/bits/ios_base.h:41, from /usr/gcc/13/include/c++/13.2.0/ios:44, from /usr/gcc/13/include/c++/13.2.0/ostream:40, from /usr/gcc/13/include/c++/13.2.0/iostream:41, from main.cc:42: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from core/dht_manager.h:40, from main.cc:60: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command_scheduler.h:43, from main.cc:71: ../rak/functional_fun.h: At global scope: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from main.cc:73: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from core/dht_manager.h:42: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ main.cc: In function 'int main(int, char**)': main.cc:192:19: warning: 'new' of type 'Control' with extended alignment 128 [-Waligned-new=] 192 | control = new Control; | ^~~~~~~ main.cc:192:19: note: uses 'void* operator new(size_t)', which does not have an alignment parameter main.cc:192:19: note: use '-faligned-new' to enable C++17 over-aligned new support main.cc:229:38: warning: 'new' of type 'ThreadWorker' with extended alignment 128 [-Waligned-new=] 229 | worker_thread = new ThreadWorker(); | ^ main.cc:229:38: note: uses 'void* operator new(size_t)', which does not have an alignment parameter main.cc:229:38: note: use '-faligned-new' to enable C++17 over-aligned new support In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/main.Tpo .deps/main.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_download.o -MD -MP -MF .deps/command_download.Tpo -c -o command_download.o command_download.cc In file included from command_download.cc:47: ../rak/regex.h:53:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 53 | class regex : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from command_download.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./globals.h:41, from core/download.h:47, from command_download.cc:63: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from command_helpers.h:40, from command_download.cc:70: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/parse.h:42, from command_download.cc:66: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ command_download.cc: In function 'torrent::Object d_list_push_back_unique(core::Download*, const torrent::Object&, const char*, const char*)': command_download.cc:597:45: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const torrent::Object&; _Arg2 = const torrent::Object&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 597 | rak::bind1st(std::ptr_fun(&torrent::object_equal), args)) == list.end()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ command_download.cc: In function 'torrent::Object d_list_has(core::Download*, const torrent::Object&, const char*, const char*)': command_download.cc:609:58: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const torrent::Object&; _Arg2 = const torrent::Object&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 609 | rak::bind1st(std::ptr_fun(&torrent::object_equal), args)) != list.end()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ command_download.cc: In function 'torrent::Object d_list_remove(core::Download*, const torrent::Object&, const char*, const char*)': command_download.cc:617:80: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const torrent::Object&; _Arg2 = const torrent::Object&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 617 | list.erase(std::remove_if(list.begin(), list.end(), rak::bind1st(std::ptr_fun(&torrent::object_equal), args)), list.end()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_download.Tpo .deps/command_download.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_dynamic.o -MD -MP -MF .deps/command_dynamic.Tpo -c -o command_dynamic.o command_dynamic.cc In file included from globals.h:41, from command_dynamic.cc:43: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from command_helpers.h:40, from command_dynamic.cc:45: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/bitset:52, from /usr/include/torrent/utils/log.h:40, from command_dynamic.cc:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ command_dynamic.cc: In function 'torrent::Object system_method_insert(const torrent::Object::list_type&)': command_dynamic.cc:322:9: warning: 'new_flags' may be used uninitialized [-Wmaybe-uninitialized] 322 | int new_flags; | ^~~~~~~~~ mv -f .deps/command_dynamic.Tpo .deps/command_dynamic.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_events.o -MD -MP -MF .deps/command_events.Tpo -c -o command_events.o command_events.cc In file included from ./globals.h:41, from core/download.h:47, from command_events.cc:50: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command_scheduler.h:43, from command_events.cc:54: ../rak/functional_fun.h: At global scope: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from command_events.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from command_events.cc:56: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from core/view.h:55, from core/view_manager.h:43, from command_events.cc:53: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ command_events.cc: In function 'torrent::Object apply_close_low_diskspace(int64_t)': command_events.cc:225:68: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = core::Download]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 225 | while ((itr = std::find_if(itr, downloadList->end(), std::mem_fun(&core::Download::is_downloading))) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_events.Tpo .deps/command_events.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_file.o -MD -MP -MF .deps/command_file.Tpo -c -o command_file.o command_file.cc In file included from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:47, from command_file.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from command_helpers.h:40, from command_file.cc:49: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from ../rak/path.h:44, from command_file.cc:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_file.Tpo .deps/command_file.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_ip.o -MD -MP -MF .deps/command_ip.Tpo -c -o command_ip.o command_ip.cc In file included from globals.h:41, from command_ip.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from command_helpers.h:40, from command_ip.cc:46: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/bits/locale_classes.h:40, from /usr/gcc/13/include/c++/13.2.0/bits/ios_base.h:41, from /usr/gcc/13/include/c++/13.2.0/ios:44, from /usr/gcc/13/include/c++/13.2.0/istream:40, from /usr/gcc/13/include/c++/13.2.0/fstream:40, from command_ip.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_ip.Tpo .deps/command_ip.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_helpers.o -MD -MP -MF .deps/command_helpers.Tpo -c -o command_helpers.o command_helpers.cc In file included from globals.h:41, from command_helpers.cc:41: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from command_helpers.h:40, from command_helpers.cc:43: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from command_helpers.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_helpers.Tpo .deps/command_helpers.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_groups.o -MD -MP -MF .deps/command_groups.Tpo -c -o command_groups.o command_groups.cc In file included from ./globals.h:41, from ui/download_list.h:41, from ui/root.h:42, from command_groups.cc:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from command_groups.cc:46: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/parse.h:42, from command_groups.cc:45: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/include/torrent/download/resource_manager.h:40, from command_groups.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ command_groups.cc: In function 'int64_t cg_get_index(const torrent::Object&)': command_groups.cc:141:111: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = torrent::choke_group]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 141 | rak::equal(arg.as_string(), std::mem_fun(&torrent::choke_group::name))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ command_groups.cc: In function 'torrent::Object apply_cg_insert(const std::string&)': command_groups.cc:194:48: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = torrent::choke_group]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 194 | rak::equal(arg, std::mem_fun(&torrent::choke_group::name))) != cg_list_hack.end()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ command_groups.cc: In function 'torrent::Object apply_cg_index_of(const std::string&)': command_groups.cc:209:88: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = torrent::choke_group]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 209 | std::find_if(cg_list_hack.begin(), cg_list_hack.end(), rak::equal(arg, std::mem_fun(&torrent::choke_group::name))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_groups.Tpo .deps/command_groups.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_local.o -MD -MP -MF .deps/command_local.Tpo -c -o command_local.o command_local.cc In file included from ./globals.h:41, from core/download.h:47, from command_local.cc:53: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from command_local.cc:58: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from command_local.cc:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/scgi.h:41, from command_local.cc:59: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ command_local.cc: In function 'void file_print_list(torrent::Object::list_const_iterator, torrent::Object::list_const_iterator, std::FILE*, int)': command_local.cc:198:44: warning: format '%lli' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] 198 | fprintf(output, (const char*)" %lli" + !(flags & file_print_use_space), first->as_value()); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | long int command_local.cc:198:41: warning: format '%lli' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] 198 | fprintf(output, (const char*)" %lli" + !(flags & file_print_use_space), first->as_value()); | ~~~^ ~~~~~~~~~~~~~~~~~ | | | | long long int long int | %li In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_local.Tpo .deps/command_local.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_logging.o -MD -MP -MF .deps/command_logging.Tpo -c -o command_logging.o command_logging.cc In file included from ./globals.h:41, from core/download.h:47, from command_logging.cc:11: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from command_logging.cc:15: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from command_logging.cc:7: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/refwrap.h:39, from /usr/gcc/13/include/c++/13.2.0/vector:68, from /usr/include/torrent/data/chunk_utils.h:40, from command_logging.cc:6: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_logging.Tpo .deps/command_logging.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_network.o -MD -MP -MF .deps/command_network.Tpo -c -o command_network.o command_network.cc In file included from ./globals.h:41, from core/download.h:47, from command_network.cc:54: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/scgi.h:41, from command_network.cc:56: ../rak/functional_fun.h: At global scope: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from command_network.cc:39: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from command_network.cc:59: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/parse.h:42, from command_network.cc:58: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ command_network.cc: In function 'torrent::Object apply_scgi(const std::string&, int)': command_network.cc:152:30: warning: 'new' of type 'rpc::SCgi' with extended alignment 128 [-Waligned-new=] 152 | rpc::SCgi* scgi = new rpc::SCgi; | ^~~~ command_network.cc:152:30: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter command_network.cc:152:30: note: use '-faligned-new' to enable C++17 over-aligned new support In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_network.Tpo .deps/command_network.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_peer.o -MD -MP -MF .deps/command_peer.Tpo -c -o command_peer.o command_peer.cc In file included from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:47, from command_peer.cc:49: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from command_helpers.h:40, from command_peer.cc:54: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from ../rak/path.h:44, from command_peer.cc:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_peer.Tpo .deps/command_peer.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_throttle.o -MD -MP -MF .deps/command_throttle.Tpo -c -o command_throttle.o command_throttle.cc In file included from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:47, from command_throttle.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from command_throttle.cc:48: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/parse.h:42, from command_throttle.cc:47: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from ../rak/socket_address.h:51, from ../rak/address_info.h:47, from command_throttle.cc:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_throttle.Tpo .deps/command_throttle.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_tracker.o -MD -MP -MF .deps/command_tracker.Tpo -c -o command_tracker.o command_tracker.cc In file included from ./globals.h:41, from core/download.h:47, from command_tracker.cc:46: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from command_helpers.h:40, from command_tracker.cc:51: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from ../rak/socket_address.h:51, from ../rak/address_info.h:47, from command_tracker.cc:40: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ command_tracker.cc: In function 'torrent::Object apply_enable_trackers(int64_t)': command_tracker.cc:103:37: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 103 | arg ? std::mem_fun(&torrent::Tracker::enable) : std::mem_fun(&torrent::Tracker::disable)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1371:5: note: declared here 1371 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ command_tracker.cc:103:79: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 103 | arg ? std::mem_fun(&torrent::Tracker::enable) : std::mem_fun(&torrent::Tracker::disable)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1371:5: note: declared here 1371 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_tracker.Tpo .deps/command_tracker.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_scheduler.o -MD -MP -MF .deps/command_scheduler.Tpo -c -o command_scheduler.o command_scheduler.cc In file included from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:47, from command_scheduler.cc:41: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from command_helpers.h:40, from command_scheduler.cc:49: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from core/view.h:55, from command_scheduler.cc:44: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/refwrap.h:39, from /usr/gcc/13/include/c++/13.2.0/vector:68, from core/manager.h:41: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_scheduler.Tpo .deps/command_scheduler.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT command_ui.o -MD -MP -MF .deps/command_ui.Tpo -c -o command_ui.o command_ui.cc In file included from command_ui.cc:44: ../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/string:49, from /usr/gcc/13/include/c++/13.2.0/bitset:52, from /usr/gcc/13/include/c++/13.2.0/regex:40, from command_ui.cc:42: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from command_ui.cc:45: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from command_ui.cc:46: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:47, from command_ui.cc:49: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from command_helpers.h:40, from command_ui.cc:57: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from core/view.h:55, from core/view_manager.h:43, from command_ui.cc:50: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_ui.Tpo .deps/command_ui.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT control.o -MD -MP -MF .deps/control.Tpo -c -o control.o control.cc In file included from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:47, from control.cc:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from display/window.h:41, from control.cc:51: ../rak/functional.h: At global scope: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from /usr/include/torrent/connection_manager.h:48, from control.cc:41: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command_scheduler.h:43, from control.cc:55: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from control.cc:56: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from core/view.h:55, from core/view_manager.h:43, from control.cc:46: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/control.Tpo .deps/control.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT globals.o -MD -MP -MF .deps/globals.Tpo -c -o globals.o globals.cc In file included from globals.h:41, from globals.cc:39: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438, from /usr/gcc/13/include/c++/13.2.0/functional:49, from ../rak/priority_queue_default.h:40: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/globals.Tpo .deps/globals.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT option_parser.o -MD -MP -MF .deps/option_parser.Tpo -c -o option_parser.o option_parser.cc option_parser.cc: In static member function 'static bool OptionParser::has_flag(char, int, char**)': option_parser.cc:91:77: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const char*; _Arg2 = const char*; _Result = int]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 91 | return std::find_if(argv, argv + argc, std::not1(std::bind1st(std::ptr_fun(&std::strcmp), options))) != argv + argc; | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from option_parser.cc:42: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ option_parser.cc:91:64: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = char [3]]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 91 | return std::find_if(argv, argv + argc, std::not1(std::bind1st(std::ptr_fun(&std::strcmp), options))) != argv + argc; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/option_parser.Tpo .deps/option_parser.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT signal_handler.o -MD -MP -MF .deps/signal_handler.Tpo -c -o signal_handler.o signal_handler.cc mv -f .deps/signal_handler.Tpo .deps/signal_handler.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT thread_base.o -MD -MP -MF .deps/thread_base.Tpo -c -o thread_base.o thread_base.cc In file included from thread_base.h:44, from thread_base.cc:39: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' thread_base.cc: In constructor 'ThreadBase::ThreadBase()': thread_base.cc:114:23: warning: 'new' of type 'thread_queue_hack' with extended alignment 128 [-Waligned-new=] 114 | m_threadQueue = new thread_queue_hack; | ^~~~~~~~~~~~~~~~~ thread_base.cc:114:23: note: uses 'void* operator new(size_t)', which does not have an alignment parameter thread_base.cc:114:23: note: use '-faligned-new' to enable C++17 over-aligned new support In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438, from /usr/gcc/13/include/c++/13.2.0/functional:49, from /usr/include/torrent/utils/signal_bitfield.h:40, from /usr/include/torrent/utils/thread_base.h:43, from thread_base.h:42: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/thread_base.Tpo .deps/thread_base.Po /usr/gcc/13/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6 -I/usr/include/ncurses -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -MT thread_worker.o -MD -MP -MF .deps/thread_worker.Tpo -c -o thread_worker.o thread_worker.cc In file included from thread_base.h:44, from thread_worker.h:40, from thread_worker.cc:39: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/scgi.h:41, from thread_worker.cc:50: ../rak/functional_fun.h: At global scope: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/functional:49, from /usr/include/torrent/utils/signal_bitfield.h:40, from /usr/include/torrent/utils/thread_base.h:43, from thread_base.h:42: /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from thread_worker.cc:52: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* std::memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/gcc/13/include/c++/13.2.0/bits/stl_function.h:1438: /usr/gcc/13/include/c++/13.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/thread_worker.Tpo .deps/thread_worker.Po rm -f libsub_root.a ar cru libsub_root.a command_download.o command_dynamic.o command_events.o command_file.o command_ip.o command_helpers.o command_groups.o command_local.o command_logging.o command_network.o command_peer.o command_throttle.o command_tracker.o command_scheduler.o command_ui.o control.o globals.o option_parser.o signal_handler.o thread_base.o thread_worker.o ranlib libsub_root.a /bin/bash ../libtool --tag=CXX --mode=link /usr/gcc/13/bin/g++ -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -m64 -lnsl -lsocket -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -lcppunit -lcurl -ltorrent libtool: link: /usr/gcc/13/bin/g++ -m64 -O3 -std=c++11 -O3 -I/usr/include/ncurses -DNDEBUG -Wall -D_REENTRANT -pthreads -m64 -o rtorrent main.o -lnsl -lsocket libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -lcppunit -lcurl -ltorrent -pthreads make[3]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src' make[2]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src' Making all in test make[2]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/test' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/test' make[2]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64' make[2]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64' make[1]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64' Making install in doc make[1]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/doc' make[2]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/doc' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/doc' make[1]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/doc' Making install in src make[1]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src' Making install in core make[2]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/core' make[3]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/core' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/core' make[2]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/core' Making install in display make[2]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/display' make[3]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/display' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/display' make[2]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/display' Making install in input make[2]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/input' make[3]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/input' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/input' make[2]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/input' Making install in rpc make[2]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/rpc' make[3]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/rpc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/rpc' make[2]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/rpc' Making install in ui make[2]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/ui' make[3]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/ui' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/ui' make[2]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/ui' Making install in utils make[2]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/utils' make[3]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/utils' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/utils' make[2]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src/utils' make[2]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src' make[3]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src' /usr/bin/gmkdir -p '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/prototype/i386/usr/bin' /bin/bash ../libtool --mode=install /usr/bin/ginstall -c rtorrent '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/prototype/i386/usr/bin' libtool: install: /usr/bin/ginstall -c rtorrent /jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/prototype/i386/usr/bin/rtorrent make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src' make[2]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src' make[1]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/src' Making install in test make[1]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/test' make[2]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/test' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/test' make[1]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64/test' make[1]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64' make[2]: Entering directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64' make[1]: Leaving directory '/jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/amd64' VALIDATING MANIFEST CONTENT: /jenkins/jobs/oi-userland/workspace/components/network/rtorrent/build/manifest-i386-rtorrent.depend.res NEW PACKAGE CONTENTS ARE LOCALLY VALIDATED AND READY TO GO generating metadata: network/rtorrent pkg://openindiana.org/network/rtorrent@0.9.8,5.11-2024.0.0.3:20240324T195422Z PUBLISHED