>>> rtorrent: Building community/rtorrent 0.9.8-r2 (using abuild 3.10.0_rc1-r2) started Sat, 29 Oct 2022 14:58:34 +0000 >>> rtorrent: Checking sanity of /home/buildozer/aports/community/rtorrent/APKBUILD... >>> rtorrent: Analyzing dependencies... >>> rtorrent: Installing for build: build-base libsigc++-dev libtorrent-dev curl-dev xmlrpc-c-dev ncurses-dev cppunit-dev (1/25) Installing libsigc++ (2.10.6-r0) (2/25) Installing libsigc++-dev (2.10.6-r0) (3/25) Installing libtorrent (0.13.8-r3) (4/25) Installing libtorrent-dev (0.13.8-r3) (5/25) Installing openssl-dev (3.0.5-r3) (6/25) Installing nghttp2-dev (1.50.0-r0) (7/25) Installing zlib-dev (1.2.13-r0) (8/25) Installing brotli (1.0.9-r8) (9/25) Installing brotli-dev (1.0.9-r8) (10/25) Installing curl-dev (7.86.0-r1) (11/25) Installing xz-libs (5.2.7-r0) (12/25) Installing xz-dev (5.2.7-r0) (13/25) Installing libxml2 (2.10.3-r1) (14/25) Installing libxml2-utils (2.10.3-r1) (15/25) Installing libxml2-dev (2.10.3-r1) (16/25) Installing xmlrpc-c (1.51.08-r1) (17/25) Installing xmlrpc-c-abyss (1.51.08-r1) (18/25) Installing xmlrpc-c++ (1.51.08-r1) (19/25) Installing xmlrpc-c-client (1.51.08-r1) (20/25) Installing xmlrpc-c-client++ (1.51.08-r1) (21/25) Installing xmlrpc-c-dev (1.51.08-r1) (22/25) Installing ncurses-dev (6.3_p20221023-r0) (23/25) Installing cppunit (1.15.1-r1) (24/25) Installing cppunit-dev (1.15.1-r1) (25/25) Installing .makedepends-rtorrent (20221029.145855) Executing busybox-1.35.0-r27.trigger OK: 206 MiB in 117 packages >>> rtorrent: Cleaning up srcdir >>> rtorrent: Cleaning up pkgdir >>> rtorrent: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/rtorrent-0.9.8.tar.gz >>> rtorrent: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/rtorrent-0.9.8.tar.gz >>> rtorrent: Checking sha512sums... rtorrent-0.9.8.tar.gz: OK >>> rtorrent: Unpacking /var/cache/distfiles/v3.17/rtorrent-0.9.8.tar.gz... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for armv7-alpine-linux-musleabihf-ranlib... no 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 g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... gcc3 checking build system type... armv7-alpine-linux-musleabihf checking host system type... armv7-alpine-linux-musleabihf checking how to print strings... printf checking for armv7-alpine-linux-musleabihf-gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/armv7-alpine-linux-musleabihf/bin/ld checking if the linker (/usr/armv7-alpine-linux-musleabihf/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert armv7-alpine-linux-musleabihf file names to armv7-alpine-linux-musleabihf format... func_convert_file_noop checking how to convert armv7-alpine-linux-musleabihf file names to toolchain format... func_convert_file_noop checking for /usr/armv7-alpine-linux-musleabihf/bin/ld option to reload object files... -r checking for armv7-alpine-linux-musleabihf-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7-alpine-linux-musleabihf-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7-alpine-linux-musleabihf-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7-alpine-linux-musleabihf-strip... no checking for strip... strip checking for armv7-alpine-linux-musleabihf-ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for armv7-alpine-linux-musleabihf-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... 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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/armv7-alpine-linux-musleabihf/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes 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... g++ -E checking for ld used by g++... /usr/armv7-alpine-linux-musleabihf/bin/ld checking if the linker (/usr/armv7-alpine-linux-musleabihf/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/armv7-alpine-linux-musleabihf/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/armv7-alpine-linux-musleabihf/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for user-defined CFLAGS... user-defined "-Os -fomit-frame-pointer" checking for user-defined CXXFLAGS... user-defined "-Os -fomit-frame-pointer" checking whether 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... no 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 without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for armv7-alpine-linux-musleabihf-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ncursesw via pkg-config... 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... ok 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 make all-recursive make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8' Making all in doc make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/doc' Making all in src make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src' Making all in core make[3]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/core' g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT curl_get.o -MD -MP -MF .deps/curl_get.Tpo -c -o curl_get.o curl_get.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT curl_socket.o -MD -MP -MF .deps/curl_socket.Tpo -c -o curl_socket.o curl_socket.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT curl_stack.o -MD -MP -MF .deps/curl_stack.Tpo -c -o curl_stack.o curl_stack.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT dht_manager.o -MD -MP -MF .deps/dht_manager.Tpo -c -o dht_manager.o dht_manager.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT download.o -MD -MP -MF .deps/download.Tpo -c -o download.o download.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT download_factory.o -MD -MP -MF .deps/download_factory.Tpo -c -o download_factory.o download_factory.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT download_list.o -MD -MP -MF .deps/download_list.Tpo -c -o download_list.o download_list.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT download_store.o -MD -MP -MF .deps/download_store.Tpo -c -o download_store.o download_store.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT http_queue.o -MD -MP -MF .deps/http_queue.Tpo -c -o http_queue.o http_queue.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT poll_manager.o -MD -MP -MF .deps/poll_manager.Tpo -c -o poll_manager.o poll_manager.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT view.o -MD -MP -MF .deps/view.Tpo -c -o view.o view.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT view_manager.o -MD -MP -MF .deps/view_manager.Tpo -c -o view_manager.o view_manager.cc In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from poll_manager.cc:46: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/c++/12.2.1/stdexcept:39, from poll_manager.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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 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/include/c++/12.2.1/functional:49, from view.cc:40: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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/include/c++/12.2.1/functional:49, from ../../rak/functional.h:41: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, from curl_socket.cc:46: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_construct.h:61, from /usr/include/c++/12.2.1/bits/alloc_traits.h:33, from /usr/include/c++/12.2.1/ext/alloc_traits.h:34, from /usr/include/c++/12.2.1/unordered_map:41, from /usr/include/c++/12.2.1/functional:61, from /usr/include/torrent/poll.h:40, from curl_socket.cc:42: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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' ../../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/include/c++/12.2.1/bits/stl_function.h:1438, from /usr/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/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, from ./../globals.h:41, from curl_get.cc:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/ostream:38, from /usr/include/c++/12.2.1/iostream:39, from curl_get.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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 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/include/c++/12.2.1/string:48, from ../../rak/file_stat.h:40, from download.cc:40: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438, from /usr/include/c++/12.2.1/functional:49: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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/include/c++/12.2.1/string:48, from /usr/include/torrent/exceptions.h:47, from curl_stack.cc:41: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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/include/c++/12.2.1/string:48, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/istream:38, from /usr/include/c++/12.2.1/fstream:38, from download_list.cc:40: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438, from /usr/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/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, from curl_get.h:45, from curl_stack.cc:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/algorithm:60, from curl_stack.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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 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/include/c++/12.2.1/bits/unique_ptr.h:37, from /usr/include/c++/12.2.1/memory:76, from http_queue.cc:39: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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 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* 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/include/c++/12.2.1/string:48, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/istream:38, from /usr/include/c++/12.2.1/fstream:38, from dht_manager.cc:39: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from curl_get.h:45, from http_queue.cc:45: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/memory:63: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from view_manager.cc:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/algorithm:60, from view_manager.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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, from ./../globals.h:41, from dht_manager.cc:49: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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' ../../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/include/c++/12.2.1/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ 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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:1371:5: note: declared here 1371 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ 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/include/c++/12.2.1/string:48, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/istream:38, from /usr/include/c++/12.2.1/fstream:38, from manager.cc:41: /usr/include/c++/12.2.1/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ 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/include/c++/12.2.1/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ curl_stack.cc:238:52: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = const_mem_fun_t]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] 238 | (itr = std::find_if(begin(), end(), std::not1(std::mem_fun(&CurlGet::is_active)))) != end()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ 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* 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 { | ^~~~~~ 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* 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/include/c++/12.2.1/string:48, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/istream:38, from /usr/include/c++/12.2.1/fstream:38, from download_factory.cc:40: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ./../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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/poll_manager.Tpo .deps/poll_manager.Po ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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* 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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from curl_get.h:45, from download_factory.cc:55: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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, from ./../control.h:43, from view.cc:48: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/algorithm:60, from view.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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.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* 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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/curl_socket.Tpo .deps/curl_socket.Po In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, from download.cc:52: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/list:60, from download.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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' ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ 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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from download.h:47, from download_store.cc:56: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/istream:38, from /usr/include/c++/12.2.1/fstream:38, from download_store.cc:41: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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: 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/include/c++/12.2.1/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ 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/include/c++/12.2.1/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ 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* 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 { | ^~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ./../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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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/include/c++/12.2.1/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, from ./../control.h:43, from download_list.cc:56: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/algorithm:60, from download_list.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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' mv -f .deps/http_queue.Tpo .deps/http_queue.Po ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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* 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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from manager.cc:64: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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' mv -f .deps/curl_get.Tpo .deps/curl_get.Po 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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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:417:123: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = rak::regex]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] 417 | itr->erase(std::remove_if(itr->begin(), itr->end(), rak::on(rak::mem_ref(&utils::directory_entry::d_name), std::not1(r))), itr->end()); | ~~~~~~~~~^~~ /usr/include/c++/12.2.1/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ 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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ ../../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/include/c++/12.2.1/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 mv -f .deps/curl_stack.Tpo .deps/curl_stack.Po mv -f .deps/download.Tpo .deps/download.Po mv -f .deps/dht_manager.Tpo .deps/dht_manager.Po mv -f .deps/download_store.Tpo .deps/download_store.Po In file included from /usr/include/c++/12.2.1/vector:70, from /usr/include/c++/12.2.1/functional:62, from download_factory.cc:44: /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1294:21, inlined from 'void core::DownloadFactory::receive_success()' at download_factory.cc:233:25: /usr/include/c++/12.2.1/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/view.Tpo .deps/view.Po mv -f .deps/download_list.Tpo .deps/download_list.Po mv -f .deps/download_factory.Tpo .deps/download_factory.Po mv -f .deps/manager.Tpo .deps/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 ar: `u' modifier ignored since `D' is the default (see `U') ranlib libsub_core.a make[3]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/core' Making all in display make[3]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/display' g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT canvas.o -MD -MP -MF .deps/canvas.Tpo -c -o canvas.o canvas.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT frame.o -MD -MP -MF .deps/frame.Tpo -c -o frame.o frame.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT text_element_list.o -MD -MP -MF .deps/text_element_list.Tpo -c -o text_element_list.o text_element_list.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT text_element_string.o -MD -MP -MF .deps/text_element_string.Tpo -c -o text_element_string.o text_element_string.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT text_element_value.o -MD -MP -MF .deps/text_element_value.Tpo -c -o text_element_value.o text_element_value.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT window.o -MD -MP -MF .deps/window.Tpo -c -o window.o window.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -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 g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT window_download_list.o -MD -MP -MF .deps/window_download_list.Tpo -c -o window_download_list.o window_download_list.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT window_download_statusbar.o -MD -MP -MF .deps/window_download_statusbar.Tpo -c -o window_download_statusbar.o window_download_statusbar.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -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 g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT window_file_list.o -MD -MP -MF .deps/window_file_list.Tpo -c -o window_file_list.o window_file_list.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT window_http_queue.o -MD -MP -MF .deps/window_http_queue.Tpo -c -o window_http_queue.o window_http_queue.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT window_input.o -MD -MP -MF .deps/window_input.Tpo -c -o window_input.o window_input.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT window_log.o -MD -MP -MF .deps/window_log.Tpo -c -o window_log.o window_log.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT window_log_complete.o -MD -MP -MF .deps/window_log_complete.Tpo -c -o window_log_complete.o window_log_complete.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT window_peer_list.o -MD -MP -MF .deps/window_peer_list.Tpo -c -o window_peer_list.o window_peer_list.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT window_statusbar.o -MD -MP -MF .deps/window_statusbar.Tpo -c -o window_statusbar.o window_statusbar.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT window_string_list.o -MD -MP -MF .deps/window_string_list.Tpo -c -o window_string_list.o window_string_list.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT window_text.o -MD -MP -MF .deps/window_text.Tpo -c -o window_text.o window_text.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT window_title.o -MD -MP -MF .deps/window_title.Tpo -c -o window_title.o window_title.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -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/include/c++/12.2.1/functional:49, from ../../rak/algorithm.h:41: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, from window_peer_list.cc:47: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/c++/12.2.1/stdexcept:39, from window_peer_list.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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 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/include/c++/12.2.1/functional:49, from ../../rak/functional.h:41: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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 { | ^~~~~~~~~~~~~~ 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 { | ^~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/string:48, from /usr/include/c++/12.2.1/stdexcept:39, from window.cc:39: /usr/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_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/include/c++/12.2.1/bits/stl_function.h:117:12: note: declared here 117 | struct unary_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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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/include/c++/12.2.1/string:48, from /usr/include/torrent/torrent.h:41, from window_log.cc:40: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/list:60, from /usr/include/torrent/torrent.h:40: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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' ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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/include/c++/12.2.1/functional:49, from frame.cc:40: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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* 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/include/c++/12.2.1/string:48, from /usr/include/torrent/exceptions.h:47, from canvas.cc:42: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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, from ./../core/curl_get.h:45, from window_http_queue.cc:41: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/c++/12.2.1/stdexcept:39, from window_http_queue.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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/include/c++/12.2.1/functional:49, from ../../rak/functional.h:41: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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, from ./../globals.h:41, from text_element_value.cc:41: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_construct.h:61, from /usr/include/c++/12.2.1/bits/alloc_traits.h:33, from /usr/include/c++/12.2.1/ext/alloc_traits.h:34, from /usr/include/c++/12.2.1/unordered_map:41, from /usr/include/c++/12.2.1/functional:61, from ../../rak/priority_queue_default.h:40: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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/include/c++/12.2.1/string:48, from canvas.h:40, from window_string_list.cc:39: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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* 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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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/include/c++/12.2.1/string:48, from canvas.h:40, from window_input.cc:39: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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, from ./../globals.h:41, from window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/algorithm:60, from frame.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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 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/include/c++/12.2.1/string:48, from /usr/include/c++/12.2.1/stdexcept:39, from manager.cc:39: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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_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/include/c++/12.2.1/bits/stl_function.h:1383:5: note: declared here 1383 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ 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/include/c++/12.2.1/functional:49, from ../../rak/algorithm.h:41: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from manager.cc:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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, from ./../globals.h:41, from ./../core/download.h:47, from window_tracker_list.cc:46: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/algorithm:60, from ../../rak/algorithm.h:40: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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' ../../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' ../../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' ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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, from ./../control.h:43, from window_statusbar.cc:42: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/deque:60, from /usr/include/torrent/rate.h:40, from window_statusbar.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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 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* 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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/window_peer_list.Tpo .deps/window_peer_list.Po 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/include/c++/12.2.1/bits/refwrap.h:39, from /usr/include/c++/12.2.1/deque:65: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/window.Tpo .deps/window.Po In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, from utils.cc:57: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from window.h:44, from window_text.h:43: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/istream:38, from /usr/include/c++/12.2.1/sstream:38, from utils.cc:41: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/algorithm:60, from window_text.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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' ../../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' ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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, from ./../globals.h:41, from ./../core/download.h:47, from window_file_list.cc:46: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/locale:39, from window_file_list.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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, from ./../globals.h:41, from window_download_statusbar.cc:47: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/deque:60, from /usr/include/torrent/rate.h:40, from window_download_statusbar.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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/include/c++/12.2.1/string:48, from /usr/include/c++/12.2.1/stdexcept:39, from window_download_chunks_seen.cc:40: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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' ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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* 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/include/c++/12.2.1/functional:49: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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/include/c++/12.2.1/bits/refwrap.h:39, from /usr/include/c++/12.2.1/deque:65: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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/include/c++/12.2.1/string:48, from canvas.h:40, from window_log_complete.cc:41: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, from window_download_list.cc:41: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/algorithm:60, from ../../rak/algorithm.h:40: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ mv -f .deps/canvas.Tpo .deps/canvas.Po ../../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' ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/text_element_list.Tpo .deps/text_element_list.Po 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* 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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/window_input.Tpo .deps/window_input.Po ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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 ../../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' ../../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/include/c++/12.2.1/bits/stl_function.h:1438, from /usr/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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/include/c++/12.2.1/string:48, from canvas.h:40, from window_title.cc:39: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, from window_download_transfer_list.cc:45: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/bits/specfun.h:45, from /usr/include/c++/12.2.1/cmath:1935, from window_download_transfer_list.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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/include/c++/12.2.1/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ ../../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, from ./../globals.h:41, from window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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* 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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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' ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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 ../../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/include/c++/12.2.1/bits/stl_function.h:1438, from /usr/include/c++/12.2.1/string:48, from /usr/include/c++/12.2.1/stdexcept:39, from window_download_transfer_list.cc:40: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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, from ./../globals.h:41, from ./../core/download.h:47, from window_download_chunks_seen.cc:48: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/bits/specfun.h:45, from /usr/include/c++/12.2.1/cmath:1935, from window_download_chunks_seen.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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' mv -f .deps/window_log.Tpo .deps/window_log.Po mv -f .deps/window_download_statusbar.Tpo .deps/window_download_statusbar.Po 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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:1389:5: note: declared here 1389 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ 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* 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/include/c++/12.2.1/functional:49, from ../../rak/string_manip.h:44, from text_element_string.cc:39: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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 mv -f .deps/window_log_complete.Tpo .deps/window_log_complete.Po mv -f .deps/text_element_value.Tpo .deps/text_element_value.Po mv -f .deps/window_title.Tpo .deps/window_title.Po mv -f .deps/window_text.Tpo .deps/window_text.Po mv -f .deps/window_http_queue.Tpo .deps/window_http_queue.Po mv -f .deps/manager.Tpo .deps/manager.Po mv -f .deps/window_download_transfer_list.Tpo .deps/window_download_transfer_list.Po mv -f .deps/window_file_list.Tpo .deps/window_file_list.Po mv -f .deps/window_download_list.Tpo .deps/window_download_list.Po mv -f .deps/window_download_chunks_seen.Tpo .deps/window_download_chunks_seen.Po mv -f .deps/frame.Tpo .deps/frame.Po mv -f .deps/utils.Tpo .deps/utils.Po mv -f .deps/text_element_string.Tpo .deps/text_element_string.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 ar: `u' modifier ignored since `D' is the default (see `U') ranlib libsub_display.a make[3]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/display' Making all in input make[3]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/input' g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT bindings.o -MD -MP -MF .deps/bindings.Tpo -c -o bindings.o bindings.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT input_event.o -MD -MP -MF .deps/input_event.Tpo -c -o input_event.o input_event.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT path_input.o -MD -MP -MF .deps/path_input.Tpo -c -o path_input.o path_input.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT text_input.o -MD -MP -MF .deps/text_input.Tpo -c -o text_input.o text_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/include/c++/12.2.1/functional:49, from path_input.cc:39: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/input_event.Tpo .deps/input_event.Po mv -f .deps/bindings.Tpo .deps/bindings.Po 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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ 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/include/c++/12.2.1/functional:49, from manager.cc:40: /usr/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/text_input.Tpo .deps/text_input.Po mv -f .deps/manager.Tpo .deps/manager.Po mv -f .deps/path_input.Tpo .deps/path_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 ar: `u' modifier ignored since `D' is the default (see `U') ranlib libsub_input.a make[3]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/input' Making all in rpc make[3]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/rpc' g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command.o -MD -MP -MF .deps/command.Tpo -c -o command.o command.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_map.o -MD -MP -MF .deps/command_map.Tpo -c -o command_map.o command_map.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_scheduler.o -MD -MP -MF .deps/command_scheduler.Tpo -c -o command_scheduler.o command_scheduler.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_scheduler_item.o -MD -MP -MF .deps/command_scheduler_item.Tpo -c -o command_scheduler_item.o command_scheduler_item.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT exec_file.o -MD -MP -MF .deps/exec_file.Tpo -c -o exec_file.o exec_file.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT object_storage.o -MD -MP -MF .deps/object_storage.Tpo -c -o object_storage.o object_storage.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT parse.o -MD -MP -MF .deps/parse.Tpo -c -o parse.o parse.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT parse_commands.o -MD -MP -MF .deps/parse_commands.Tpo -c -o parse_commands.o parse_commands.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT scgi.o -MD -MP -MF .deps/scgi.Tpo -c -o scgi.o scgi.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT scgi_task.o -MD -MP -MF .deps/scgi_task.Tpo -c -o scgi_task.o scgi_task.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT xmlrpc.o -MD -MP -MF .deps/xmlrpc.Tpo -c -o xmlrpc.o xmlrpc.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/include/c++/12.2.1/functional:49, from ../../rak/functional.h:41: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../thread_base.h:44, from exec_file.cc:49: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from exec_file.cc:40: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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, from ./../control.h:43, from scgi_task.cc:50: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/torrent/exceptions.h:47, from scgi_task.cc:44: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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 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* 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.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/include/c++/12.2.1/string:48, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/istream:38, from /usr/include/c++/12.2.1/fstream:38, from parse_commands.cc:40: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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/include/c++/12.2.1/unordered_map:44, from object_storage.h:45: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438, from /usr/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/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, from ./../globals.h:41, from command_scheduler_item.h:40, from command_scheduler_item.cc:41: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/torrent/exceptions.h:47, from command_scheduler_item.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, from command.cc:39: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/list:60, from /usr/include/torrent/download.h:40, from ./../core/download.h:40: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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 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* 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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ parse_commands.cc: In function 'rpc::parse_command_type rpc::parse_command(target_type, const char*, const char*)': parse_commands.cc:134:46: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = rpc::command_map_is_space]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] 134 | first = std::find_if(first, last, std::not1(command_map_is_space())); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ parse_commands.cc:142:46: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = rpc::command_map_is_space]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] 142 | first = std::find_if(first, last, std::not1(command_map_is_space())); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ parse_commands.cc:153:46: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = rpc::command_map_is_space]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] 153 | first = std::find_if(first, last, std::not1(command_map_is_space())); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ 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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438, from /usr/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/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, from ./../control.h:43, from scgi.cc:49: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from ../../rak/socket_address.h:51, from scgi.cc:40: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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, from ./../globals.h:41, from command_scheduler_item.h:40, from command_scheduler.cc:47: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/algorithm:60, from command_scheduler.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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, from ./../globals.h:41, from command_map.cc:45: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/vector:60, from command_map.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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* 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 { | ^~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438, from /usr/include/c++/12.2.1/bits/refwrap.h:39, from /usr/include/c++/12.2.1/vector:66, from /usr/include/torrent/download.h:41: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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* 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/include/c++/12.2.1/functional:49, from ../../rak/string_manip.h:44, from xmlrpc.cc:45: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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* 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/include/c++/12.2.1/bits/refwrap.h:39, from /usr/include/c++/12.2.1/vector:66: /usr/include/c++/12.2.1/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 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* 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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ 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* 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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:1389:5: note: declared here 1389 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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 ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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 parse.cc: In function 'std::string rpc::convert_list_to_command(torrent::Object::list_const_iterator, torrent::Object::list_const_iterator)': parse.cc:341:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 341 | convert_list_to_command(torrent::Object::list_const_iterator first, | ^~~~~~~~~~~~~~~~~~~~~~~ parse.cc:341:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 parse.cc: In function 'std::string rpc::convert_list_to_string(torrent::Object::list_const_iterator, torrent::Object::list_const_iterator)': parse.cc:306:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 306 | convert_list_to_string(torrent::Object::list_const_iterator first, | ^~~~~~~~~~~~~~~~~~~~~~ parse.cc:306:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 parse.cc: In function 'std::string rpc::convert_list_to_string(const torrent::Object&)': parse.cc:302:75: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 302 | return convert_list_to_string(src.as_list().begin(), src.as_list().end()); | ^ mv -f .deps/command_scheduler_item.Tpo .deps/command_scheduler_item.Po In file included from /usr/include/c++/12.2.1/vector:70, from /usr/include/torrent/object.h:42, from parse.h:42, from parse.cc:45: /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const torrent::Object&}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/vector:64: /usr/include/c++/12.2.1/bits/stl_vector.h: In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ mv -f .deps/parse.Tpo .deps/parse.Po 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/include/c++/12.2.1/bits/stl_pair.h:535: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/include/c++/12.2.1/bits/stl_pair.h:746: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 mv -f .deps/command_map.Tpo .deps/command_map.Po mv -f .deps/scgi.Tpo .deps/scgi.Po In file included from /usr/include/c++/12.2.1/vector:63, from /usr/include/torrent/object.h:42: /usr/include/c++/12.2.1/bits/stl_uninitialized.h: In function '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]': /usr/include/c++/12.2.1/bits/stl_uninitialized.h:163:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 163 | uninitialized_copy(_InputIterator __first, _InputIterator __last, | ^~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_uninitialized.h:163:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In file included from /usr/include/c++/12.2.1/vector:70, from /usr/include/c++/12.2.1/functional:62: /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]', inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:601:31, inlined from 'torrent::Object::Object(const torrent::Object&)' at /usr/include/torrent/object.h:352:60: /usr/include/c++/12.2.1/bits/stl_uninitialized.h:372:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 372 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1294:21, inlined from 'torrent::Object rpc::xmlrpc_to_object(xmlrpc_env*, xmlrpc_value*, int, target_type*)' at xmlrpc.cc:351:26: /usr/include/c++/12.2.1/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]', inlined from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1690:33, inlined from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:706:23, inlined from 'static torrent::Object torrent::Object::create_list_range(ForwardIterator, ForwardIterator) [with ForwardIterator = __gnu_cxx::__normal_iterator >]' at /usr/include/torrent/object.h:441:40, inlined from 'const torrent::Object& rpc::object_storage::set_list(const torrent::raw_string&, const torrent::Object::list_type&)' at object_storage.cc:180:65: /usr/include/c++/12.2.1/bits/stl_uninitialized.h:372:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 372 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/command_scheduler.Tpo .deps/command_scheduler.Po In file included from /usr/include/c++/12.2.1/vector:70: /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const torrent::Object&}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/vector:64: In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'void rpc::object_storage::list_push_back(const torrent::raw_string&, const torrent::Object&)' at object_storage.cc:186:41: /usr/include/c++/12.2.1/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1294:21, inlined from 'std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(typename _Container::value_type&&) [with _Container = std::vector]' at /usr/include/c++/12.2.1/bits/stl_iterator.h:743:22, inlined from '_OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation) [with _IIter = __gnu_cxx::__normal_iterator, rpc::object_storage_node>**, vector, rpc::object_storage_node>*, allocator, rpc::object_storage_node>*> > >; _OIter = back_insert_iterator >; _UnaryOperation = _Bind::*(_Bind, rpc::object_storage_node>, const rpc::fixed_key_type<64> >(_Placeholder<1>)>))() const>]' at /usr/include/c++/12.2.1/bits/stl_algo.h:4263:12, inlined from 'torrent::Object::list_type rpc::object_storage::rlookup_list(const std::string&)' at object_storage.cc:264:19: /usr/include/c++/12.2.1/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/xmlrpc.Tpo .deps/xmlrpc.Po In file included from /usr/include/c++/12.2.1/vector:70: /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const torrent::Object&}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/vector:64: /usr/include/c++/12.2.1/bits/stl_vector.h: In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ mv -f .deps/object_storage.Tpo .deps/object_storage.Po mv -f .deps/command.Tpo .deps/command.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 ar: `u' modifier ignored since `D' is the default (see `U') ranlib libsub_rpc.a make[3]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/rpc' Making all in ui make[3]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/ui' g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT download.o -MD -MP -MF .deps/download.Tpo -c -o download.o download.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT download_list.o -MD -MP -MF .deps/download_list.Tpo -c -o download_list.o download_list.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT element_base.o -MD -MP -MF .deps/element_base.Tpo -c -o element_base.o element_base.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT element_chunks_seen.o -MD -MP -MF .deps/element_chunks_seen.Tpo -c -o element_chunks_seen.o element_chunks_seen.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT element_download_list.o -MD -MP -MF .deps/element_download_list.Tpo -c -o element_download_list.o element_download_list.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT element_file_list.o -MD -MP -MF .deps/element_file_list.Tpo -c -o element_file_list.o element_file_list.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT element_log_complete.o -MD -MP -MF .deps/element_log_complete.Tpo -c -o element_log_complete.o element_log_complete.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT element_menu.o -MD -MP -MF .deps/element_menu.Tpo -c -o element_menu.o element_menu.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT element_peer_list.o -MD -MP -MF .deps/element_peer_list.Tpo -c -o element_peer_list.o element_peer_list.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT element_string_list.o -MD -MP -MF .deps/element_string_list.Tpo -c -o element_string_list.o element_string_list.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT element_text.o -MD -MP -MF .deps/element_text.Tpo -c -o element_text.o element_text.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT element_tracker_list.o -MD -MP -MF .deps/element_tracker_list.Tpo -c -o element_tracker_list.o element_tracker_list.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT element_transfer_list.o -MD -MP -MF .deps/element_transfer_list.Tpo -c -o element_transfer_list.o element_transfer_list.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT root.o -MD -MP -MF .deps/root.Tpo -c -o root.o root.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/include/c++/12.2.1/functional:49, from ../../rak/algorithm.h:41: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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/include/c++/12.2.1/string:48, from /usr/include/torrent/exceptions.h:47, from element_chunks_seen.cc:39: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../display/manager.h:41, from element_log_complete.cc:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/torrent/exceptions.h:47, from element_log_complete.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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, from ./../globals.h:41, from ./../display/window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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/include/c++/12.2.1/string:48, from /usr/include/torrent/exceptions.h:47, from element_tracker_list.cc:39: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../display/window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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, from ./../display/manager.h:41, from element_file_list.cc:45: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/algorithm:60, from ../../rak/algorithm.h:40: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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/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* 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/include/c++/12.2.1/string:48, from /usr/include/torrent/exceptions.h:47, from element_menu.cc:39: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../display/window.h:44, from ./../display/window_text.h:43: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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' ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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/include/c++/12.2.1/string:48, from /usr/include/torrent/exceptions.h:47, from element_base.cc:39: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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 ./../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* 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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../display/window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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' ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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, from ./../control.h:43, from element_string_list.cc:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/torrent/exceptions.h:47, from element_string_list.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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 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/include/c++/12.2.1/functional:49, from ../../rak/functional.h:41: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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/include/c++/12.2.1/string:48, from /usr/include/torrent/exceptions.h:47, from element_transfer_list.cc:39: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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, from ./../globals.h:41, from ./../display/window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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/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* 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 { | ^~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ./../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/include/c++/12.2.1/string:48, from /usr/include/torrent/exceptions.h:47, from element_text.cc:39: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../display/window.h:44, from ./../display/window_text.h:43: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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' ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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, from ./../display/manager.h:41, from element_peer_list.cc:46: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/torrent/exceptions.h:47, from element_peer_list.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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' ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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, from ./../globals.h:41, from ./../core/download.h:47, from element_download_list.cc:43: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/torrent/exceptions.h:47, from element_download_list.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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, from ./../core/curl_stack.h:43, from ./../core/poll_manager.h:40, from ./../core/manager.h:47, from root.cc:48: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/istream:38, from /usr/include/c++/12.2.1/fstream:38, from root.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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' mv -f .deps/element_base.Tpo .deps/element_base.Po 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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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 ./../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* 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 { | ^~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ./../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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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* 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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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/include/c++/12.2.1/string:48, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/istream:38, from /usr/include/c++/12.2.1/sstream:38, from download_list.cc:39: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ 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* 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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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 In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, from download.cc:50: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_construct.h:61, from /usr/include/c++/12.2.1/bits/alloc_traits.h:33, from /usr/include/c++/12.2.1/ext/alloc_traits.h:34, from /usr/include/c++/12.2.1/unordered_map:41, from /usr/include/c++/12.2.1/functional:61: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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' 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 unsigned int'} [-Wsign-compare] 416 | if (delim_pos != std::string::npos) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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, from ./../globals.h:41, from ./../core/download.h:47, from download_list.cc:47: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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' mv -f .deps/element_string_list.Tpo .deps/element_string_list.Po 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* 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/include/c++/12.2.1/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' mv -f .deps/element_chunks_seen.Tpo .deps/element_chunks_seen.Po 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* 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 { | ^~~~~~ mv -f .deps/element_tracker_list.Tpo .deps/element_tracker_list.Po ./../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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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' ../../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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 mv -f .deps/element_menu.Tpo .deps/element_menu.Po mv -f .deps/element_transfer_list.Tpo .deps/element_transfer_list.Po mv -f .deps/element_file_list.Tpo .deps/element_file_list.Po mv -f .deps/element_peer_list.Tpo .deps/element_peer_list.Po mv -f .deps/element_download_list.Tpo .deps/element_download_list.Po mv -f .deps/download.Tpo .deps/download.Po mv -f .deps/download_list.Tpo .deps/download_list.Po 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 ar: `u' modifier ignored since `D' is the default (see `U') ranlib libsub_ui.a make[3]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/ui' Making all in utils make[3]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/utils' g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT directory.o -MD -MP -MF .deps/directory.Tpo -c -o directory.o directory.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT file_status_cache.o -MD -MP -MF .deps/file_status_cache.Tpo -c -o file_status_cache.o file_status_cache.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT lockfile.o -MD -MP -MF .deps/lockfile.Tpo -c -o lockfile.o lockfile.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -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 mv -f .deps/file_status_cache.Tpo .deps/file_status_cache.Po mv -f .deps/lockfile.Tpo .deps/lockfile.Po mv -f .deps/directory.Tpo .deps/directory.Po rm -f libsub_utils.a ar cru libsub_utils.a directory.o file_status_cache.o lockfile.o socket_fd.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libsub_utils.a make[3]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/utils' make[3]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src' g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_download.o -MD -MP -MF .deps/command_download.Tpo -c -o command_download.o command_download.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_dynamic.o -MD -MP -MF .deps/command_dynamic.Tpo -c -o command_dynamic.o command_dynamic.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_events.o -MD -MP -MF .deps/command_events.Tpo -c -o command_events.o command_events.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_file.o -MD -MP -MF .deps/command_file.Tpo -c -o command_file.o command_file.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_ip.o -MD -MP -MF .deps/command_ip.Tpo -c -o command_ip.o command_ip.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_helpers.o -MD -MP -MF .deps/command_helpers.Tpo -c -o command_helpers.o command_helpers.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_groups.o -MD -MP -MF .deps/command_groups.Tpo -c -o command_groups.o command_groups.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_local.o -MD -MP -MF .deps/command_local.Tpo -c -o command_local.o command_local.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_logging.o -MD -MP -MF .deps/command_logging.Tpo -c -o command_logging.o command_logging.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_network.o -MD -MP -MF .deps/command_network.Tpo -c -o command_network.o command_network.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_peer.o -MD -MP -MF .deps/command_peer.Tpo -c -o command_peer.o command_peer.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_throttle.o -MD -MP -MF .deps/command_throttle.Tpo -c -o command_throttle.o command_throttle.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_tracker.o -MD -MP -MF .deps/command_tracker.Tpo -c -o command_tracker.o command_tracker.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_scheduler.o -MD -MP -MF .deps/command_scheduler.Tpo -c -o command_scheduler.o command_scheduler.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT command_ui.o -MD -MP -MF .deps/command_ui.Tpo -c -o command_ui.o command_ui.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT control.o -MD -MP -MF .deps/control.Tpo -c -o control.o control.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT globals.o -MD -MP -MF .deps/globals.Tpo -c -o globals.o globals.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT option_parser.o -MD -MP -MF .deps/option_parser.Tpo -c -o option_parser.o option_parser.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT signal_handler.o -MD -MP -MF .deps/signal_handler.Tpo -c -o signal_handler.o signal_handler.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT thread_base.o -MD -MP -MF .deps/thread_base.Tpo -c -o thread_base.o thread_base.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT thread_worker.o -MD -MP -MF .deps/thread_worker.Tpo -c -o thread_worker.o thread_worker.cc In file included from ../rak/priority_queue_default.h:42, from globals.h:41, from globals.cc:39: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_construct.h:61, from /usr/include/c++/12.2.1/bits/alloc_traits.h:33, from /usr/include/c++/12.2.1/ext/alloc_traits.h:34, from /usr/include/c++/12.2.1/unordered_map:41, from /usr/include/c++/12.2.1/functional:61, from ../rak/priority_queue_default.h:40: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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/include/c++/12.2.1/functional:49, from option_parser.cc:42: /usr/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ option_parser.cc:91:51: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = binder1st >]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] 91 | return std::find_if(argv, argv + argc, std::not1(std::bind1st(std::ptr_fun(&std::strcmp), options))) != argv + argc; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ ../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, from globals.h:41, from command_dynamic.cc:43: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/algorithm:60, from command_dynamic.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../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' ../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/include/c++/12.2.1/bits/stl_function.h:1438, from /usr/include/c++/12.2.1/functional:49: /usr/include/c++/12.2.1/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, 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.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/vector:60, from core/manager.h:41: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from ../rak/priority_queue_default.h:42, from thread_base.h:44, from thread_worker.h:40, from thread_worker.cc:39: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_construct.h:61, from /usr/include/c++/12.2.1/bits/alloc_traits.h:33, from /usr/include/c++/12.2.1/ext/alloc_traits.h:34, from /usr/include/c++/12.2.1/unordered_map:41, from /usr/include/c++/12.2.1/functional:61, from /usr/include/torrent/utils/signal_bitfield.h:40, from /usr/include/torrent/utils/thread_base.h:43, from thread_base.h:42: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from ../rak/priority_queue_default.h:42, from globals.h:41, from command_helpers.cc:41: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/torrent/exceptions.h:47, from command_helpers.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../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' ../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, 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.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from ../rak/path.h:44, from command_file.cc:40: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from ../rak/priority_queue_default.h:42, from thread_base.h:44, from thread_base.cc:39: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_construct.h:61, from /usr/include/c++/12.2.1/bits/alloc_traits.h:33, from /usr/include/c++/12.2.1/ext/alloc_traits.h:34, from /usr/include/c++/12.2.1/unordered_map:41, from /usr/include/c++/12.2.1/functional:61, from /usr/include/torrent/utils/signal_bitfield.h:40, from /usr/include/torrent/utils/thread_base.h:43, from thread_base.h:42: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../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, from ./globals.h:41, from core/download.h:47, from command_local.cc:53: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_construct.h:61, from /usr/include/c++/12.2.1/bits/alloc_traits.h:33, from /usr/include/c++/12.2.1/ext/alloc_traits.h:34, from /usr/include/c++/12.2.1/unordered_map:41, from /usr/include/c++/12.2.1/functional:61, from command_local.cc:40: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../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, from ./globals.h:41, from core/download.h:47, from command_logging.cc:11: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/vector:60, from /usr/include/torrent/data/chunk_utils.h:40, from command_logging.cc:6: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../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' mv -f .deps/signal_handler.Tpo .deps/signal_handler.Po 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* 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 { | ^~~~~~ ../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, from ./globals.h:41, from core/download.h:47, from command_tracker.cc:46: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from ../rak/socket_address.h:51, from ../rak/address_info.h:47, from command_tracker.cc:40: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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/include/c++/12.2.1/string:48, from /usr/include/c++/12.2.1/bitset:47, from /usr/include/torrent/utils/log.h:40, from command_dynamic.cc:40: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../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' mv -f .deps/globals.Tpo .deps/globals.Po 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* 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/include/c++/12.2.1/bits/refwrap.h:39, from /usr/include/c++/12.2.1/vector:66: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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* 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 ../rak/priority_queue_default.h:42, from globals.h:41, from command_ip.cc:45: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/istream:38, from /usr/include/c++/12.2.1/fstream:38, from command_ip.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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* 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 { | ^~~~~~ ../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/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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42, from ./globals.h:41, from core/download.h:47, from command_network.cc:54: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_construct.h:61, from /usr/include/c++/12.2.1/bits/alloc_traits.h:33, from /usr/include/c++/12.2.1/ext/alloc_traits.h:34, from /usr/include/c++/12.2.1/unordered_map:41, from /usr/include/c++/12.2.1/functional:61, from command_network.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../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' ../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_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/include/c++/12.2.1/functional:49, from command_download.cc:39: /usr/include/c++/12.2.1/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ 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* 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/include/c++/12.2.1/bits/refwrap.h:39, from /usr/include/c++/12.2.1/vector:66: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42, from ./globals.h:41, from ui/download_list.h:41, from ui/root.h:42, from command_groups.cc:44: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/torrent/download/resource_manager.h:40, from command_groups.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../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* 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 { | ^~~~~~ ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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/include/c++/12.2.1/functional:49: /usr/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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, from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:47, from control.cc:44: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/list:60, from /usr/include/torrent/connection_manager.h:42, from control.cc:41: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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, from ./globals.h:41, from core/download.h:47, from command_events.cc:50: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_construct.h:61, from /usr/include/c++/12.2.1/bits/alloc_traits.h:33, from /usr/include/c++/12.2.1/ext/alloc_traits.h:34, from /usr/include/c++/12.2.1/unordered_map:41, from /usr/include/c++/12.2.1/functional:61, from command_events.cc:39: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:1371:5: note: declared here 1371 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ ../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* 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/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/include/c++/12.2.1/functional:49: /usr/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../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, 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.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from ../rak/socket_address.h:51, from ../rak/address_info.h:47, from command_throttle.cc:40: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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* 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/include/c++/12.2.1/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_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* 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 { | ^~~~~~ ../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' ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/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_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* 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/include/c++/12.2.1/functional:49: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../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/include/c++/12.2.1/bits/stl_function.h:1438, from /usr/include/c++/12.2.1/functional:49: /usr/include/c++/12.2.1/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, from ./globals.h:41, from core/download.h:47, from command_download.cc:63: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_construct.h:61, from /usr/include/c++/12.2.1/bits/alloc_traits.h:33, from /usr/include/c++/12.2.1/ext/alloc_traits.h:34, from /usr/include/c++/12.2.1/unordered_map:41, from /usr/include/c++/12.2.1/functional:61: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../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_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* 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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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 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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ 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/include/c++/12.2.1/functional:49, from /usr/include/torrent/connection_manager.h:48: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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/include/c++/12.2.1/functional:49: /usr/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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* 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/include/c++/12.2.1/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* 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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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_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* 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/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42, 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.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from ../rak/path.h:44, from command_peer.cc:40: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../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' ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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* 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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ 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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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/include/c++/12.2.1/string:48, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/ostream:38, from /usr/include/c++/12.2.1/iostream:39, from main.cc:42: /usr/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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* 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 { | ^~~~~~~~~~~~~~~ ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /usr/include/c++/12.2.1/string:48: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42, from core/dht_manager.h:40, from main.cc:60: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../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' ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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/include/c++/12.2.1/string:48, from /usr/include/c++/12.2.1/bitset:47, from /usr/include/c++/12.2.1/regex:38, from command_ui.cc:42: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/option_parser.Tpo .deps/option_parser.Po 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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/thread_worker.Tpo .deps/thread_worker.Po ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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, 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.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../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/include/c++/12.2.1/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/include/c++/12.2.1/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* 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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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* 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/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/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 mv -f .deps/command_scheduler.Tpo .deps/command_scheduler.Po mv -f .deps/command_logging.Tpo .deps/command_logging.Po command_throttle.cc: In function 'std::pair parse_address_range(const torrent::Object::list_type&, std::vector::const_iterator)': command_throttle.cc:55:1: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 55 | parse_address_range(const torrent::Object::list_type& args, torrent::Object::list_type::const_iterator itr) { | ^~~~~~~~~~~~~~~~~~~ mv -f .deps/command_peer.Tpo .deps/command_peer.Po In file included from /usr/include/c++/12.2.1/vector:70, from /usr/include/torrent/utils/log.h:42, from command_ip.cc:42: /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ mv -f .deps/control.Tpo .deps/control.Po In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1294:21, inlined from 'torrent::Object apply_ipv4_filter_dump()' at command_ip.cc:391:21: /usr/include/c++/12.2.1/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/command_ip.Tpo .deps/command_ip.Po command_dynamic.cc: In function 'std::string system_method_generate_command(torrent::Object::list_const_iterator, torrent::Object::list_const_iterator)': command_dynamic.cc:49:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 49 | system_method_generate_command(torrent::Object::list_const_iterator first, torrent::Object::list_const_iterator last) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command_dynamic.cc:49:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 mv -f .deps/command_tracker.Tpo .deps/command_tracker.Po In file included from /usr/include/c++/12.2.1/vector:70, from /usr/include/torrent/path.h:41, from /usr/include/torrent/data/file.h:41, from command_file.cc:41: /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_algobase.h: In function '_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator >; _OI = __gnu_cxx::__normal_iterator >]': /usr/include/c++/12.2.1/bits/stl_algobase.h:611:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 611 | copy(_II __first, _II __last, _OI __result) | ^~~~ /usr/include/c++/12.2.1/bits/stl_algobase.h:611:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /usr/include/c++/12.2.1/bits/stl_algobase.h:611:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1294:21, inlined from 'torrent::Object apply_f_path_components(torrent::File*)' at command_file.cc:80:21: /usr/include/c++/12.2.1/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/command_file.Tpo .deps/command_file.Po command_dynamic.cc: In function 'torrent::Object system_method_set_key(const torrent::Object::list_type&)': command_dynamic.cc:427:94: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 427 | control->object_storage()->set_str_multi_key(key, cmd_key, system_method_generate_command(itrArgs, args.end())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/vector:70, from /usr/include/torrent/download/resource_manager.h:41: /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1294:21, inlined from 'torrent::Object apply_cg_list()' at command_groups.cc:180:21: /usr/include/c++/12.2.1/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/vector:63, from /usr/include/torrent/utils/log.h:42: /usr/include/c++/12.2.1/bits/stl_uninitialized.h: In function '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]': /usr/include/c++/12.2.1/bits/stl_uninitialized.h:163:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 163 | uninitialized_copy(_InputIterator __first, _InputIterator __last, | ^~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_uninitialized.h:163:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In file included from /usr/include/c++/12.2.1/vector:70, from /usr/include/c++/12.2.1/functional:62: /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]', inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:601:31: /usr/include/c++/12.2.1/bits/stl_uninitialized.h:372:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 372 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/command_groups.Tpo .deps/command_groups.Po /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_insert_rval(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:350:5: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 350 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/vector.tcc:366:26: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 366 | _M_realloc_insert(begin() + __n, std::move(__v)); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/vector.tcc: In function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/vector:64: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'torrent::Object d_multicall_filtered(const torrent::Object::list_type&)' at command_events.cc:334:52: /usr/include/c++/12.2.1/bits/stl_vector.h:1389:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 1389 | { return _M_insert_rval(__position, std::move(__x)); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/command_throttle.Tpo .deps/command_throttle.Po command_dynamic.cc: In function 'torrent::Object system_method_set_function(const torrent::Object::list_type&)': command_dynamic.cc:395:84: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 395 | system_method_generate_command(++args.begin(), args.end())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'torrent::Object d_multicall(const torrent::Object::list_type&)' at command_events.cc:299:52: /usr/include/c++/12.2.1/bits/stl_vector.h:1389:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 1389 | { return _M_insert_rval(__position, std::move(__x)); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/vector:70: /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const torrent::Object&}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ command_dynamic.cc: In function 'void system_method_generate_command2(torrent::Object*, torrent::Object::list_const_iterator, torrent::Object::list_const_iterator)': command_dynamic.cc:63:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 63 | system_method_generate_command2(torrent::Object* object, torrent::Object::list_const_iterator first, torrent::Object::list_const_iterator last) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command_dynamic.cc:63:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 In file included from /usr/include/c++/12.2.1/vector:64: In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'void system_method_generate_command2(torrent::Object*, torrent::Object::list_const_iterator, torrent::Object::list_const_iterator)' at command_dynamic.cc:102:34: /usr/include/c++/12.2.1/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ mv -f .deps/command_events.Tpo .deps/command_events.Po command_dynamic.cc: In function 'torrent::Object system_method_insert_object(const torrent::Object::list_type&, int)': command_dynamic.cc:140:36: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 140 | system_method_generate_command2(&value, itrArgs, args.end()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]', inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1617:35, inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/vector.tcc:232:44, inlined from 'torrent::Object system_method_insert_object(const torrent::Object::list_type&, int)' at command_dynamic.cc:162:42: /usr/include/c++/12.2.1/bits/stl_uninitialized.h:372:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 372 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'torrent::Object system_method_insert_object(const torrent::Object::list_type&, int)' at command_dynamic.cc:162:42: /usr/include/c++/12.2.1/bits/vector.tcc:244:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 244 | std::_Destroy(std::copy(__x.begin(), __x.end(), begin()), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | end(), _M_get_Tp_allocator()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command_local.cc: In function 'void file_print_list(torrent::Object::list_const_iterator, torrent::Object::list_const_iterator, FILE*, int)': command_local.cc:191:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 191 | file_print_list(torrent::Object::list_const_iterator first, torrent::Object::list_const_iterator last, FILE* output, int flags) { | ^~~~~~~~~~~~~~~ command_local.cc:191:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 command_local.cc:201:22: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 201 | file_print_list(first->as_list().begin(), first->as_list().end(), output, 0); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/vector.tcc: In function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command_local.cc: In function 'torrent::Object cmd_file_append(const torrent::Object::list_type&)': command_local.cc:224:18: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 224 | file_print_list(++args.begin(), args.end(), output, file_print_delim_space); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; | ^~~~~~~~~ command_dynamic.cc:281:54: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 281 | new_args.push_back(system_method_generate_command(++itrArgs, args.end())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ command_dynamic.cc:299:54: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 299 | new_args.push_back(system_method_generate_command(++itrArgs, args.end())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]', inlined from 'void std::vector<_Tp, _Alloc>::_M_range_insert(iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/vector.tcc:769:34, inlined from 'void std::vector<_Tp, _Alloc>::_M_insert_dispatch(iterator, _InputIterator, _InputIterator, std::__false_type) [with _InputIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1779:19, inlined from 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, _InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1481:22, inlined from 'torrent::Object system_method_insert(const torrent::Object::list_type&)' at command_dynamic.cc:320:22: /usr/include/c++/12.2.1/bits/stl_uninitialized.h:372:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 372 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void std::vector<_Tp, _Alloc>::_M_range_insert(iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'void std::vector<_Tp, _Alloc>::_M_insert_dispatch(iterator, _InputIterator, _InputIterator, std::__false_type) [with _InputIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1779:19, inlined from 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, _InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1481:22, inlined from 'torrent::Object system_method_insert(const torrent::Object::list_type&)' at command_dynamic.cc:320:22: /usr/include/c++/12.2.1/bits/vector.tcc:780:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 780 | std::copy(__first, __mid, __position); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]', inlined from 'void std::vector<_Tp, _Alloc>::_M_range_insert(iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/vector.tcc:796:38, inlined from 'void std::vector<_Tp, _Alloc>::_M_insert_dispatch(iterator, _InputIterator, _InputIterator, std::__false_type) [with _InputIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1779:19, inlined from 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, _InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1481:22, inlined from 'torrent::Object system_method_insert(const torrent::Object::list_type&)' at command_dynamic.cc:320:22: /usr/include/c++/12.2.1/bits/stl_uninitialized.h:372:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 372 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/command_dynamic.Tpo .deps/command_dynamic.Po mv -f .deps/main.Tpo .deps/main.Po In file included from /usr/include/c++/12.2.1/vector:70, from /usr/include/c++/12.2.1/functional:62: /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const torrent::Object&}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/vector:64: /usr/include/c++/12.2.1/bits/stl_vector.h: In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ mv -f .deps/command_network.Tpo .deps/command_network.Po mv -f .deps/command_local.Tpo .deps/command_local.Po In file included from /usr/include/c++/12.2.1/bits/stl_algo.h:60, from /usr/include/c++/12.2.1/regex:50: /usr/include/c++/12.2.1/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = long long int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/12.2.1/bits/stl_heap.h:224:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, | ^~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/vector:63, from /usr/include/c++/12.2.1/functional:62: /usr/include/c++/12.2.1/bits/stl_uninitialized.h: In function '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]': /usr/include/c++/12.2.1/bits/stl_uninitialized.h:163:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 163 | uninitialized_copy(_InputIterator __first, _InputIterator __last, | ^~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_uninitialized.h:163:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]', inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:601:31, inlined from 'torrent::Object::Object(const torrent::Object&)' at /usr/include/torrent/object.h:352:60: /usr/include/c++/12.2.1/bits/stl_uninitialized.h:372:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 372 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:71, from /usr/include/c++/12.2.1/bits/hashtable_policy.h:35, from /usr/include/c++/12.2.1/bits/hashtable.h:35, from /usr/include/c++/12.2.1/unordered_map:46: /usr/include/c++/12.2.1/bits/predefined_ops.h: In member function 'bool __gnu_cxx::__ops::_Iter_pred<_Predicate>::operator()(_Iterator) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = rak::bind1st_t >]': /usr/include/c++/12.2.1/bits/predefined_ops.h:317:9: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 317 | operator()(_Iterator __it) | ^~~~~~~~ /usr/include/c++/12.2.1/bits/stl_algobase.h: In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]': /usr/include/c++/12.2.1/bits/stl_algobase.h:2110:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2110 | __find_if(_Iterator __first, _Iterator __last, _Predicate __pred) | ^~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_algobase.h:2110:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In function '_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]', inlined from '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]' at /usr/include/c++/12.2.1/bits/stl_algobase.h:2112:23: /usr/include/c++/12.2.1/bits/stl_algobase.h:2067:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2067 | if (__pred(__first)) | ~~~~~~^~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_algobase.h:2071:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2071 | if (__pred(__first)) | ~~~~~~^~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_algobase.h:2075:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2075 | if (__pred(__first)) | ~~~~~~^~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_algobase.h:2079:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2079 | if (__pred(__first)) | ~~~~~~^~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_algobase.h:2087:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2087 | if (__pred(__first)) | ~~~~~~^~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_algobase.h:2092:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2092 | if (__pred(__first)) | ~~~~~~^~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_algobase.h:2097:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2097 | if (__pred(__first)) | ~~~~~~^~~~~~~~~ In function '_ForwardIterator std::__remove_if(_ForwardIterator, _ForwardIterator, _Predicate) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]', inlined from '_FIter std::remove_if(_FIter, _FIter, _Predicate) [with _FIter = __gnu_cxx::__normal_iterator >; _Predicate = rak::bind1st_t >]' at /usr/include/c++/12.2.1/bits/stl_algo.h:877:30, inlined from 'torrent::Object d_list_remove(core::Download*, const torrent::Object&, const char*, const char*)' at command_download.cc:617:28: /usr/include/c++/12.2.1/bits/stl_algobase.h:2134:31: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2134 | __first = std::__find_if(__first, __last, __pred); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_algobase.h:2140:20: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2140 | if (!__pred(__first)) | ~~~~~~^~~~~~~~~ In file included from /usr/include/c++/12.2.1/functional:64: /usr/include/c++/12.2.1/bits/stl_algo.h: In function '_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = __gnu_cxx::__normal_iterator >; _Predicate = rak::bind1st_t >]': /usr/include/c++/12.2.1/bits/stl_algo.h:3868:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 3868 | find_if(_InputIterator __first, _InputIterator __last, | ^~~~~~~ /usr/include/c++/12.2.1/bits/stl_algo.h:3868:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /usr/include/c++/12.2.1/bits/stl_algo.h:3877:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 3877 | return std::__find_if(__first, __last, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 3878 | __gnu_cxx::__ops::__pred_iter(__pred)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command_download.cc: In function 'torrent::Object d_list_has(core::Download*, const torrent::Object&, const char*, const char*)': command_download.cc:608:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 608 | return (int64_t)(std::find_if(list.begin(), list.end(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 609 | rak::bind1st(std::ptr_fun(&torrent::object_equal), args)) != list.end()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]', inlined from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1690:33, inlined from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:706:23, inlined from 'static torrent::Object torrent::Object::create_list_range(ForwardIterator, ForwardIterator) [with ForwardIterator = __gnu_cxx::__normal_iterator >]' at /usr/include/torrent/object.h:441:40, inlined from 'torrent::Object p_call_target(const torrent::Object::list_type&)' at command_download.cc:507:84: /usr/include/c++/12.2.1/bits/stl_uninitialized.h:372:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 372 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/vector:70: /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_insert_rval(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:350:5: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 350 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/vector.tcc:366:26: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 366 | _M_realloc_insert(begin() + __n, std::move(__v)); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/vector.tcc: In function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/vector:64: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'torrent::Object f_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:409:52: /usr/include/c++/12.2.1/bits/stl_vector.h:1389:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 1389 | { return _M_insert_rval(__position, std::move(__x)); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'torrent::Object p_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:462:52: /usr/include/c++/12.2.1/bits/stl_vector.h:1389:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 1389 | { return _M_insert_rval(__position, std::move(__x)); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'torrent::Object t_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:434:52: /usr/include/c++/12.2.1/bits/stl_vector.h:1389:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 1389 | { return _M_insert_rval(__position, std::move(__x)); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const torrent::Object&}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/stl_vector.h: In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ command_download.cc: In function 'torrent::Object d_list_push_back_unique(core::Download*, const torrent::Object&, const char*, const char*)': command_download.cc:596:19: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 596 | if (std::find_if(list.begin(), list.end(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 597 | rak::bind1st(std::ptr_fun(&torrent::object_equal), args)) == list.end()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/command_download.Tpo .deps/command_download.Po In file included from /usr/include/c++/12.2.1/regex:57: /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1294:21, inlined from 'torrent::Object apply_view_list()' at command_ui.cc:116:21: /usr/include/c++/12.2.1/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/command_ui.Tpo .deps/command_ui.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 ar: `u' modifier ignored since `D' is the default (see `U') ranlib libsub_root.a /bin/sh ../libtool --tag=CXX --mode=link g++ -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -Wl,--as-needed,-O1,--sort-common -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 -Wl,--as-needed,-O1,--sort-common -lncursesw -lcppunit -lcurl -ltorrent -L/usr/lib -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lpthread libtool: link: g++ -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -o rtorrent main.o -Wl,--as-needed -Wl,-O1 -Wl,--sort-common 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 -L/usr/lib -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lpthread make[3]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src' make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src' Making all in test make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/test' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/test' make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8' make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8' make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8' Making check in doc make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/doc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/doc' Making check in src make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src' Making check in core make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/core' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/core' Making check in display make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/display' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/display' Making check in input make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/input' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/input' Making check in rpc make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/rpc' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/rpc' Making check in ui make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/ui' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/ui' Making check in utils make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/utils' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/utils' make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src' make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src' Making check in test make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/test' make rtorrentTest make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/test' g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT rtorrentTest-main.o -MD -MP -MF .deps/rtorrentTest-main.Tpo -c -o rtorrentTest-main.o `test -f 'main.cc' || echo './'`main.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT rpc/rtorrentTest-command_test.o -MD -MP -MF rpc/.deps/rtorrentTest-command_test.Tpo -c -o rpc/rtorrentTest-command_test.o `test -f 'rpc/command_test.cc' || echo './'`rpc/command_test.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT rpc/rtorrentTest-command_map_test.o -MD -MP -MF rpc/.deps/rtorrentTest-command_map_test.Tpo -c -o rpc/rtorrentTest-command_map_test.o `test -f 'rpc/command_map_test.cc' || echo './'`rpc/command_map_test.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT rpc/rtorrentTest-command_slot_test.o -MD -MP -MF rpc/.deps/rtorrentTest-command_slot_test.Tpo -c -o rpc/rtorrentTest-command_slot_test.o `test -f 'rpc/command_slot_test.cc' || echo './'`rpc/command_slot_test.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT rpc/rtorrentTest-object_storage_test.o -MD -MP -MF rpc/.deps/rtorrentTest-object_storage_test.Tpo -c -o rpc/rtorrentTest-object_storage_test.o `test -f 'rpc/object_storage_test.cc' || echo './'`rpc/object_storage_test.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -MT src/rtorrentTest-command_dynamic_test.o -MD -MP -MF src/.deps/rtorrentTest-command_dynamic_test.Tpo -c -o src/rtorrentTest-command_dynamic_test.o `test -f 'src/command_dynamic_test.cc' || echo './'`src/command_dynamic_test.cc mv -f .deps/rtorrentTest-main.Tpo .deps/rtorrentTest-main.Po In file included from ../src/rpc/command.h:240, from ../src/command_helpers.h:40, from rpc/command_map_test.cc:3: ../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ../src/rpc/command_impl.h:105:16: warning: 'void* 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 ../src/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 ../src/rpc/parse_commands.h:43, from ../src/command_helpers.h:41: ../src/rpc/command_map.h: At global scope: ../src/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/include/c++/12.2.1/functional:49, from ../src/rpc/command.h:40: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/rpc/command.h:240, from ../src/rpc/object_storage.h:49, from rpc/object_storage_test.h:3, from rpc/object_storage_test.cc:3: ../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ../src/rpc/command_impl.h:105:16: warning: 'void* 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 ../src/rpc/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 ../src/rpc/command.h:240, from rpc/command_test.h:3, from rpc/command_test.cc:3: ../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ../src/rpc/command_impl.h:105:16: warning: 'void* 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 ../src/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 ../src/rpc/command.h:240, from ../src/rpc/command_map.h:45, from rpc/command_slot_test.cc:5: ../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ../src/rpc/command_impl.h:105:16: warning: 'void* 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_slot_test.cc:4: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_test.cc: In function 'bool command_stack_all_empty()': rpc/command_test.cc:10:39: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Object]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 10 | std::mem_fun_ref(&torrent::Object::is_not_empty)) == rpc::command_base::stack_end(); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/refwrap.h:39, from /usr/include/c++/12.2.1/deque:65, from /usr/include/cppunit/Message.h:11, from /usr/include/cppunit/Exception.h:5, from /usr/include/cppunit/TestCaller.h:4, from /usr/include/cppunit/extensions/HelperMacros.h:9, from rpc/command_test.h:1: /usr/include/c++/12.2.1/bits/stl_function.h:1389:5: note: declared here 1389 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ ../src/rpc/command_map.h: At global scope: ../src/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/include/c++/12.2.1/string:48, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/istream:38, from /usr/include/c++/12.2.1/sstream:38, from rpc/command_slot_test.cc:3: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/rpc/command.h:240, from ../src/rpc/command_map.h:45, from ../src/rpc/parse_commands.h:43, from src/command_dynamic_test.cc:7: ../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ../src/rpc/command_impl.h:105:16: warning: 'void* 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 ../src/rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ../src/rpc/command_map.h: At global scope: ../src/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/include/c++/12.2.1/string:48, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/ostream:38, from /usr/include/c++/12.2.1/iostream:39, from src/command_dynamic_test.cc:3: /usr/include/c++/12.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42, from ../src/control.h:43, from src/command_dynamic_test.cc:8: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45: /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../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' ../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/include/c++/12.2.1/bits/stl_function.h:1438: /usr/include/c++/12.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f rpc/.deps/rtorrentTest-object_storage_test.Tpo rpc/.deps/rtorrentTest-object_storage_test.Po mv -f rpc/.deps/rtorrentTest-command_map_test.Tpo rpc/.deps/rtorrentTest-command_map_test.Po In file included from /usr/include/c++/12.2.1/vector:70, from /usr/include/c++/12.2.1/functional:62, from /usr/include/cppunit/TestCaller.h:7, from /usr/include/cppunit/extensions/HelperMacros.h:9, from src/command_dynamic_test.h:1, from src/command_dynamic_test.cc:5: /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const torrent::Object&}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/vector:64: /usr/include/c++/12.2.1/bits/stl_vector.h: In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ mv -f rpc/.deps/rtorrentTest-command_slot_test.Tpo rpc/.deps/rtorrentTest-command_slot_test.Po In file included from /usr/include/c++/12.2.1/vector:70, from /usr/include/c++/12.2.1/functional:62, from /usr/include/cppunit/TestCaller.h:7: /usr/include/c++/12.2.1/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12.2.1/bits/vector.tcc: In function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/12.2.1/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f src/.deps/rtorrentTest-command_dynamic_test.Tpo src/.deps/rtorrentTest-command_dynamic_test.Po mv -f rpc/.deps/rtorrentTest-command_test.Tpo rpc/.deps/rtorrentTest-command_test.Po /bin/sh ../libtool --tag=CXX --mode=link g++ -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -lcppunit -ldl -Wl,--as-needed,-O1,--sort-common -o rtorrentTest rpc/rtorrentTest-command_test.o rpc/rtorrentTest-command_map_test.o rpc/rtorrentTest-command_slot_test.o rpc/rtorrentTest-object_storage_test.o src/rtorrentTest-command_dynamic_test.o rtorrentTest-main.o ../src/libsub_root.a ../src/ui/libsub_ui.a ../src/core/libsub_core.a ../src/display/libsub_display.a ../src/input/libsub_input.a ../src/rpc/libsub_rpc.a ../src/utils/libsub_utils.a -Wl,--as-needed,-O1,--sort-common -lncursesw -lcppunit -lcurl -ltorrent -L/usr/lib -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lpthread libtool: link: g++ -Os -fomit-frame-pointer -DNDEBUG -Wall -I/usr/include -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -o rtorrentTest rpc/rtorrentTest-command_test.o rpc/rtorrentTest-command_map_test.o rpc/rtorrentTest-command_slot_test.o rpc/rtorrentTest-object_storage_test.o src/rtorrentTest-command_dynamic_test.o rtorrentTest-main.o -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -ldl ../src/libsub_root.a ../src/ui/libsub_ui.a ../src/core/libsub_core.a ../src/display/libsub_display.a ../src/input/libsub_input.a ../src/rpc/libsub_rpc.a ../src/utils/libsub_utils.a -lncursesw -lcppunit -lcurl -ltorrent -L/usr/lib -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lpthread make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/test' make check-TESTS make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/test' make[3]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/test' PASS: rtorrentTest ============================================================================ Testsuite summary for rtorrent 0.9.8 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/test' make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/test' make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/test' make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8' make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8' >>> rtorrent: Entering fakeroot... Making install in doc make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/doc' make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/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 '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/doc' make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/doc' Making install in src make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src' Making install in core make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/core' make[3]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/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 '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/core' make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/core' Making install in display make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/display' make[3]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/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 '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/display' make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/display' Making install in input make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/input' make[3]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/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 '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/input' make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/input' Making install in rpc make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/rpc' make[3]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/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 '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/rpc' make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/rpc' Making install in ui make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/ui' make[3]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/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 '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/ui' make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/ui' Making install in utils make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/utils' make[3]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/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 '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/utils' make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src/utils' make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src' make[3]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src' make[3]: Nothing to be done for 'install-data-am'. .././install-sh -c -d '/home/buildozer/aports/community/rtorrent/pkg/rtorrent/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c rtorrent '/home/buildozer/aports/community/rtorrent/pkg/rtorrent/usr/bin' libtool: install: /usr/bin/install -c rtorrent /home/buildozer/aports/community/rtorrent/pkg/rtorrent/usr/bin/rtorrent make[3]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src' make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src' make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/src' Making install in test make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/test' make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/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 '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/test' make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8/test' make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8' make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8' make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.9.8' >>> rtorrent-doc*: Running split function doc... >>> rtorrent-doc*: Preparing subpackage rtorrent-doc... >>> rtorrent-doc*: Running postcheck for rtorrent-doc >>> rtorrent*: Running postcheck for rtorrent >>> rtorrent*: Preparing package rtorrent... >>> rtorrent*: Stripping binaries >>> rtorrent-doc*: Scanning shared objects >>> rtorrent*: Scanning shared objects >>> rtorrent-doc*: Tracing dependencies... >>> rtorrent-doc*: Package size: 28.0 KB >>> rtorrent-doc*: Compressing data... >>> rtorrent-doc*: Create checksum... >>> rtorrent-doc*: Create rtorrent-doc-0.9.8-r2.apk >>> rtorrent*: Tracing dependencies... so:libc.musl-armv7.so.1 so:libcurl.so.4 so:libgcc_s.so.1 so:libncursesw.so.6 so:libstdc++.so.6 so:libtorrent.so.21 so:libxmlrpc.so.3 so:libxmlrpc_server.so.3 so:libxmlrpc_util.so.4 >>> rtorrent*: Package size: 720.0 KB >>> rtorrent*: Compressing data... >>> rtorrent*: Create checksum... >>> rtorrent*: Create rtorrent-0.9.8-r2.apk >>> rtorrent: Build complete at Sat, 29 Oct 2022 14:59:43 +0000 elapsed time 0h 1m 9s >>> rtorrent: Cleaning up srcdir >>> rtorrent: Cleaning up pkgdir >>> rtorrent: Uninstalling dependencies... (1/25) Purging .makedepends-rtorrent (20221029.145855) (2/25) Purging libsigc++-dev (2.10.6-r0) (3/25) Purging libsigc++ (2.10.6-r0) (4/25) Purging libtorrent-dev (0.13.8-r3) (5/25) Purging libtorrent (0.13.8-r3) (6/25) Purging curl-dev (7.86.0-r1) (7/25) Purging openssl-dev (3.0.5-r3) (8/25) Purging nghttp2-dev (1.50.0-r0) (9/25) Purging brotli-dev (1.0.9-r8) (10/25) Purging brotli (1.0.9-r8) (11/25) Purging xmlrpc-c-dev (1.51.08-r1) (12/25) Purging libxml2-dev (2.10.3-r1) (13/25) Purging zlib-dev (1.2.13-r0) (14/25) Purging xz-dev (5.2.7-r0) (15/25) Purging libxml2-utils (2.10.3-r1) (16/25) Purging libxml2 (2.10.3-r1) (17/25) Purging xmlrpc-c-client++ (1.51.08-r1) (18/25) Purging xmlrpc-c-client (1.51.08-r1) (19/25) Purging ncurses-dev (6.3_p20221023-r0) (20/25) Purging cppunit-dev (1.15.1-r1) (21/25) Purging cppunit (1.15.1-r1) (22/25) Purging xz-libs (5.2.7-r0) (23/25) Purging xmlrpc-c++ (1.51.08-r1) (24/25) Purging xmlrpc-c-abyss (1.51.08-r1) (25/25) Purging xmlrpc-c (1.51.08-r1) Executing busybox-1.35.0-r27.trigger OK: 189 MiB in 92 packages >>> rtorrent: Updating the community/armv7 repository index... >>> rtorrent: Signing the index...