From https://github.com/archlinux/svntogit-community * branch packages/rtorrent -> FETCH_HEAD * [new branch] packages/rtorrent -> community/packages/rtorrent Cloning into 'rtorrent'... done. :: Synchronizing package databases... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 130k 100 130k 0 0 772k 0 --:--:-- --:--:-- --:--:-- 776k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 2 8545k 2 223k 0 0 211k 0 0:00:40 0:00:01 0:00:39 211k 35 8545k 35 3014k 0 0 1424k 0 0:00:05 0:00:02 0:00:03 1424k 82 8545k 82 7075k 0 0 2229k 0 0:00:03 0:00:03 --:--:-- 2229k 100 8545k 100 8545k 0 0 2544k 0 0:00:03 0:00:03 --:--:-- 2544k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 142k 100 142k 0 0 798k 0 --:--:-- --:--:-- --:--:-- 802k :: Starting full system upgrade... there is nothing to do ==> Making package: rtorrent 0.9.8-4 (Thu Sep 5 18:42:41 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (2) libtorrent-0.13.8-3 libxmlrpc-1:1.51.08-3 Total Download Size: 0.72 MiB Total Installed Size: 2.59 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 374k 100 374k 0 0 353k 0 0:00:01 0:00:01 --:--:-- 353k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 4 367k 4 16384 0 0 91869 0 0:00:04 --:--:-- 0:00:04 91530 100 367k 100 367k 0 0 329k 0 0:00:01 0:00:01 --:--:-- 329k 100 367k 100 367k 0 0 329k 0 0:00:01 0:00:01 --:--:-- 329k checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing libtorrent... installing libxmlrpc... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading rtorrent-0.9.8.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 632k 100 632k 0 0 2283k 0 --:--:-- --:--:-- --:--:-- 2283k ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha256sums... rtorrent-0.9.8.tar.gz ... Passed ==> Extracting sources... -> Extracting rtorrent-0.9.8.tar.gz with bsdtar ==> Starting prepare()... aclocal... autoheader... libtoolize... using libtoolize automake... configure.ac:10: installing './compile' configure.ac:5: installing './missing' src/Makefile.am: installing './depcomp' autoconf... configure.ac:10: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:10: You should run autoupdate. aclocal.m4:122: AC_PROG_LIBTOOL is expanded from... configure.ac:10: the top level configure.ac:14: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:14: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/rak_compiler.m4:27: RAK_ENABLE_DEBUG is expanded from... configure.ac:14: the top level configure.ac:15: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:15: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/rak_compiler.m4:55: RAK_ENABLE_EXTRA_DEBUG is expanded from... configure.ac:15: the top level configure.ac:16: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:16: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/rak_compiler.m4:42: RAK_ENABLE_WERROR is expanded from... configure.ac:16: the top level configure.ac:18: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:18: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/rak_cxx.m4:1: RAK_CHECK_CXX11 is expanded from... configure.ac:18: the top level configure.ac:18: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:18: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... scripts/ax_cxx_compile_stdcxx_0x.m4:26: AX_CXX_COMPILE_STDCXX_0X is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... scripts/rak_cxx.m4:1: RAK_CHECK_CXX11 is expanded from... configure.ac:18: the top level configure.ac:18: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:18: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... scripts/ax_cxx_compile_stdcxx_0x.m4:26: AX_CXX_COMPILE_STDCXX_0X is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... scripts/rak_cxx.m4:1: RAK_CHECK_CXX11 is expanded from... configure.ac:18: the top level configure.ac:21: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:21: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/common.m4:234: TORRENT_DISABLE_IPV6 is expanded from... configure.ac:21: the top level configure.ac:27: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:27: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/common.m4:23: TORRENT_ENABLE_ARCH is expanded from... configure.ac:27: the top level configure.ac:28: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:28: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/common.m4:1: TORRENT_WITH_SYSROOT is expanded from... configure.ac:28: the top level configure.ac:30: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:30: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/checks.m4:161: TORRENT_WITHOUT_VARIABLE_FDSET is expanded from... configure.ac:30: the top level configure.ac:31: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:31: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/checks.m4:299: TORRENT_WITHOUT_STATVFS is expanded from... configure.ac:31: the top level configure.ac:31: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:31: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... scripts/checks.m4:215: TORRENT_CHECK_STATVFS is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... scripts/checks.m4:299: TORRENT_WITHOUT_STATVFS is expanded from... configure.ac:31: the top level configure.ac:31: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:31: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... scripts/checks.m4:215: TORRENT_CHECK_STATVFS is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... scripts/checks.m4:299: TORRENT_WITHOUT_STATVFS is expanded from... configure.ac:31: the top level configure.ac:32: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:32: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/checks.m4:314: TORRENT_WITHOUT_STATFS is expanded from... configure.ac:32: the top level configure.ac:32: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:32: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... scripts/checks.m4:252: TORRENT_CHECK_STATFS is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... scripts/checks.m4:314: TORRENT_WITHOUT_STATFS is expanded from... configure.ac:32: the top level configure.ac:32: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:32: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... scripts/checks.m4:252: TORRENT_CHECK_STATFS is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... scripts/checks.m4:314: TORRENT_WITHOUT_STATFS is expanded from... configure.ac:32: the top level configure.ac:46: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:46: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/checks.m4:404: TORRENT_WITH_XMLRPC_C is expanded from... configure.ac:46: the top level configure.ac:46: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:46: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... scripts/checks.m4:404: TORRENT_WITH_XMLRPC_C is expanded from... configure.ac:46: the top level configure.ac:67: warning: AC_OUTPUT should be used without arguments. configure.ac:67: You should run autoupdate. ready to configure ==> Starting build()... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/sbin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for ranlib... ranlib checking for g++... g++ 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 the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... gcc3 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... 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... /usr/sbin/sed checking for grep that handles long lines and -e... /usr/sbin/grep checking for egrep... /usr/sbin/grep -E checking for fgrep... /usr/sbin/grep -F checking for ld used by gcc... /usr/sbin/ld checking if the linker (/usr/sbin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/sbin/nm -B checking the name lister (/usr/sbin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/sbin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... (cached) ranlib checking command to parse /usr/sbin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/sbin/dd checking how to truncate binary pipes... /usr/sbin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.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/sbin/ld -m elf_x86_64) 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/sbin/ld -m elf_x86_64 checking if the linker (/usr/sbin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/sbin/ld -m elf_x86_64) 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/sbin/ld -m elf_x86_64) 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 "-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection" checking for user-defined CXXFLAGS... user-defined "-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing" 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... yes checking for sysroot... no checking for sys/vfs.h... yes checking for sys/statvfs.h... 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 pkg-config... /usr/sbin/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... no checking for DEPENDENCIES... 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 '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8' Making all in doc make[2]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/doc' Making all in src make[2]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src' Making all in core make[3]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/core' g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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 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++/13.2.1/functional:49, from view.cc:40: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/functional:49, from ../../rak/functional.h:41: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:117:12: note: declared here 117 | struct unary_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++/13.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++/13.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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/13.2.1/string:49, from ../../rak/file_stat.h:40, from download.cc:40: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/13.2.1/string:49, from /usr/include/torrent/exceptions.h:47, from curl_stack.cc:41: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from /usr/include/c++/13.2.1/iostream:41, from curl_get.cc:39: /usr/include/c++/13.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 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/stdexcept:39, from poll_manager.cc:39: /usr/include/c++/13.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 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from curl_stack.cc:39: /usr/include/c++/13.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 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63, from /usr/include/torrent/poll.h:40, from curl_socket.cc:42: /usr/include/c++/13.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_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++/13.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++/13.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::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++/13.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++/13.2.1/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ In file included from curl_get.cc:40: curl_get.cc: In member function 'double core::CurlGet::size_done()': curl_get.cc:136:31: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] 136 | curl_easy_getinfo(m_handle, CURLINFO_SIZE_DOWNLOAD, &d); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2851:3: note: declared here 2851 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ curl_get.cc: In member function 'double core::CurlGet::size_total()': curl_get.cc:144:31: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] 144 | curl_easy_getinfo(m_handle, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &d); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2868:3: note: declared here 2868 | CURLINFO_CONTENT_LENGTH_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438, from /usr/include/c++/13.2.1/string:49: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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++/13.2.1/string:49, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/istream:40, from /usr/include/c++/13.2.1/fstream:40, from manager.cc:41: /usr/include/c++/13.2.1/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from 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 { | ^~~~~~ ../../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++/13.2.1/bits/stl_function.h:1438, from /usr/include/c++/13.2.1/string:49: /usr/include/c++/13.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++/13.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 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from view_manager.cc:39: /usr/include/c++/13.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 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 { | ^~~~~~ 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++/13.2.1/string:49, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/istream:40, from /usr/include/c++/13.2.1/fstream:40, from dht_manager.cc:39: /usr/include/c++/13.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 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/list:62, from download.cc:39: /usr/include/c++/13.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' ./../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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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 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++/13.2.1/bits/unique_ptr.h:37, from /usr/include/c++/13.2.1/memory:78, from http_queue.cc:39: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.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_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++/13.2.1/string:49, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/istream:40, from /usr/include/c++/13.2.1/fstream:40, from download_list.cc:40: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:1438, from /usr/include/c++/13.2.1/functional:49: /usr/include/c++/13.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 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++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66: /usr/include/c++/13.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 ./../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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from view.cc:39: /usr/include/c++/13.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++/13.2.1/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ 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++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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 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 { | ^~~~~~ ./../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++/13.2.1/string:49, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/istream:40, from /usr/include/c++/13.2.1/fstream:40, from download_factory.cc:40: /usr/include/c++/13.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 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++/13.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++/13.2.1/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ view.cc: In member function 'void core::View::initialize(const std::string&)': view.cc:179:72: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::View; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 179 | std::for_each(dlist->begin(), dlist->end(), rak::bind1st(std::mem_fun(&View::push_back), this)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/13.2.1/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ 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++/13.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++/13.2.1/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ 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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:136:5: note: declared here 136 | bind1st(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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/poll_manager.Tpo .deps/poll_manager.Po 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.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)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/curl_get.Tpo .deps/curl_get.Po mv -f .deps/http_queue.Tpo .deps/http_queue.Po 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/istream:40, from /usr/include/c++/13.2.1/fstream:40, from download_store.cc:41: /usr/include/c++/13.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 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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/13.2.1/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ 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++/13.2.1/string:49: /usr/include/c++/13.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 { | ^~~~~~ ./../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++/13.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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from download_list.cc:39: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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 ../../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++/13.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++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/curl_stack.Tpo .deps/curl_stack.Po 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 mv -f .deps/view.Tpo .deps/view.Po mv -f .deps/download_factory.Tpo .deps/download_factory.Po mv -f .deps/download_list.Tpo .deps/download_list.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 '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/core' Making all in display make[3]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/display' g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -DNDEBUG -Wall -I/usr/include -MT window_input.o -MD -MP -MF .deps/window_input.Tpo -c -o window_input.o window_input.cc In file included from text_element_list.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/functional:49, from ../../rak/functional.h:41: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/13.2.1/functional:49, from frame.cc:40: /usr/include/c++/13.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 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63, from ../../rak/priority_queue_default.h:40: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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++/13.2.1/functional:49, from ../../rak/algorithm.h:41: /usr/include/c++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/13.2.1/string:49, from canvas.h:40, from window_input.cc:39: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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++/13.2.1/string:49, from /usr/include/c++/13.2.1/stdexcept:39, from manager.cc:39: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_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 { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/string:49, from /usr/include/c++/13.2.1/stdexcept:39, from window.cc:39: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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_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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/stdexcept:39, from window_http_queue.cc:39: /usr/include/c++/13.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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from frame.cc:39: /usr/include/c++/13.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_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' 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++/13.2.1/string:49: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/13.2.1/string:49, from /usr/include/c++/13.2.1/stdexcept:39, from window_download_chunks_seen.cc:40: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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 { | ^~~~~~ ../../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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.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 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 { | ^~~~~~ 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/deque:62, from /usr/include/torrent/rate.h:40, from window_download_statusbar.cc:39: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ./../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++/13.2.1/string:49, from /usr/include/torrent/exceptions.h:47, from canvas.cc:42: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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_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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from ../../rak/algorithm.h:40: /usr/include/c++/13.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.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++/13.2.1/bits/refwrap.h:39, from /usr/include/c++/13.2.1/deque:67: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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++/13.2.1/bits/stl_function.h:1383:5: note: declared here 1383 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/locale:41, from window_file_list.cc:39: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/functional:49: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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 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 /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/istream:40, from /usr/include/c++/13.2.1/sstream:40, from utils.cc:41: /usr/include/c++/13.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_input.Tpo .deps/window_input.Po g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -DNDEBUG -Wall -I/usr/include -MT window_log.o -MD -MP -MF .deps/window_log.Tpo -c -o window_log.o window_log.cc ../../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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.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++/13.2.1/bits/stl_function.h:1438, from /usr/include/c++/13.2.1/string:49: /usr/include/c++/13.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 g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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 ../../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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_download_statusbar.Tpo .deps/window_download_statusbar.Po g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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 mv -f .deps/window.Tpo .deps/window.Po g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -DNDEBUG -Wall -I/usr/include -MT window_statusbar.o -MD -MP -MF .deps/window_statusbar.Tpo -c -o window_statusbar.o window_statusbar.cc 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/specfun.h:43, from /usr/include/c++/13.2.1/cmath:3699, from window_download_transfer_list.cc:39: /usr/include/c++/13.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 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++/13.2.1/string:49: /usr/include/c++/13.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 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++/13.2.1/functional:49, from ../../rak/string_manip.h:44, from text_element_string.cc:39: /usr/include/c++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ utils.cc: In function 'char* display::print_download_status(char*, char*, core::Download*)': utils.cc:201:32: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 201 | std::mem_fun(&torrent::Tracker::is_busy_not_scrape)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13.2.1/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42, 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/specfun.h:43, from /usr/include/c++/13.2.1/cmath:3699, from window_download_chunks_seen.cc:39: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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++/13.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++/13.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++/13.2.1/bits/stl_function.h:1389:5: note: declared here 1389 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ mv -f .deps/canvas.Tpo .deps/canvas.Po g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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 ../../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++/13.2.1/bits/stl_function.h:1438, from /usr/include/c++/13.2.1/string:49, from /usr/include/c++/13.2.1/stdexcept:39, from window_download_transfer_list.cc:40: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/text_element_value.Tpo .deps/text_element_value.Po g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -DNDEBUG -Wall -I/usr/include -MT window_text.o -MD -MP -MF .deps/window_text.Tpo -c -o window_text.o window_text.cc ../../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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_http_queue.Tpo .deps/window_http_queue.Po g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -DNDEBUG -Wall -I/usr/include -MT window_title.o -MD -MP -MF .deps/window_title.Tpo -c -o window_title.o window_title.cc mv -f .deps/manager.Tpo .deps/manager.Po g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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 mv -f .deps/window_file_list.Tpo .deps/window_file_list.Po mv -f .deps/window_download_transfer_list.Tpo .deps/window_download_transfer_list.Po mv -f .deps/frame.Tpo .deps/frame.Po 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++/13.2.1/string:49, from canvas.h:40, from window_log_complete.cc:41: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.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_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++/13.2.1/string:49, from /usr/include/torrent/torrent.h:41, from window_log.cc:40: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/list:62, from /usr/include/torrent/torrent.h:40: /usr/include/c++/13.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 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++/13.2.1/functional:49, from ../../rak/functional.h:41: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/window_download_list.Tpo .deps/window_download_list.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_download_chunks_seen.Tpo .deps/window_download_chunks_seen.Po 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/deque:62, from /usr/include/torrent/rate.h:40, from window_statusbar.cc:39: /usr/include/c++/13.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 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/stdexcept:39, from window_peer_list.cc:39: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/text_element_string.Tpo .deps/text_element_string.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++/13.2.1/bits/refwrap.h:39, from /usr/include/c++/13.2.1/deque:67: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/13.2.1/string:49: /usr/include/c++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/13.2.1/string:49, from canvas.h:40, from window_title.cc:39: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.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_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++/13.2.1/string:49, from canvas.h:40, from window_string_list.cc:39: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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++/13.2.1/functional:49, from ../../rak/algorithm.h:41: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_log_complete.Tpo .deps/window_log_complete.Po ../../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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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 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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/window_statusbar.Tpo .deps/window_statusbar.Po 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from window_text.cc:39: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_title.Tpo .deps/window_title.Po ../../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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/window_peer_list.Tpo .deps/window_peer_list.Po mv -f .deps/utils.Tpo .deps/utils.Po mv -f .deps/window_log.Tpo .deps/window_log.Po mv -f .deps/window_string_list.Tpo .deps/window_string_list.Po 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from ../../rak/algorithm.h:40: /usr/include/c++/13.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_text.Tpo .deps/window_text.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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 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 '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/display' Making all in input make[3]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/input' g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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++/13.2.1/functional:49, from path_input.cc:39: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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 mv -f .deps/text_input.Tpo .deps/text_input.Po 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++/13.2.1/functional:49, from manager.cc:40: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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++/13.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++/13.2.1/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ 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 '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/input' Making all in rpc make[3]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/rpc' g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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++/13.2.1/functional:49, from ../../rak/functional.h:41: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from command_map.cc:39: /usr/include/c++/13.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 ./../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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from exec_file.cc:40: /usr/include/c++/13.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.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 { | ^~~~~~ ../../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++/13.2.1/bits/stl_function.h:1438, from /usr/include/c++/13.2.1/string:49: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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++/13.2.1/bits/refwrap.h:39, from /usr/include/c++/13.2.1/vector:68: /usr/include/c++/13.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 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/torrent/exceptions.h:47, from scgi_task.cc:44: /usr/include/c++/13.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 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++/13.2.1/string:49, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/istream:40, from /usr/include/c++/13.2.1/fstream:40, from parse_commands.cc:40: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/torrent/exceptions.h:47, from command_scheduler_item.cc:39: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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++/13.2.1/string:49: /usr/include/c++/13.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++/13.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 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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ parse_commands.cc:55:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 55 | struct command_map_is_space : std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ 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 { | ^~~~~~ 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++/13.2.1/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ ../../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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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 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++/13.2.1/bits/hashtable.h:37, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from object_storage.h:45: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438, from /usr/include/c++/13.2.1/string:49: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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++/13.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++/13.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 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from command_scheduler.cc:39: /usr/include/c++/13.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.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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from ../../rak/socket_address.h:51, from scgi.cc:40: /usr/include/c++/13.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 copy constructor 'rpc::command_map_data_type::command_map_data_type(const rpc::command_map_data_type&)', inlined from 'constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = const char*&; _U2 = rpc::command_map_data_type; typename std::enable_if<(std::_PCC::_MoveConstructiblePair<_U1, _U2>() && std::_PCC::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type = true; _T1 = const char* const; _T2 = rpc::command_map_data_type]' at /usr/include/c++/13.2.1/bits/stl_pair.h:688:35, inlined from 'std::map::iterator rpc::CommandMap::insert(std::map::key_type, int, const char*, const char*)' at command_map.cc:87:33: command_map.h:64:47: warning: '.rpc::command_map_data_type::m_anySlot' may be used uninitialized [-Wmaybe-uninitialized] 64 | m_variable(src.m_variable), m_anySlot(src.m_anySlot), | ~~~~^~~~~~~~~ command_map.cc: In member function 'std::map::iterator rpc::CommandMap::insert(std::map::key_type, int, const char*, const char*)': command_map.cc:87:87: note: '' declared here 87 | return base_type::insert(itr, value_type(key, command_map_data_type(flags, parm, doc))); | ^ In 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/list:62, from /usr/include/torrent/download.h:40, from ./../core/download.h:40: /usr/include/c++/13.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/scgi_task.Tpo .deps/scgi_task.Po 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++/13.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++/13.2.1/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In copy constructor 'rpc::command_map_data_type::command_map_data_type(const rpc::command_map_data_type&)', inlined from 'constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = const char*&; _U2 = rpc::command_map_data_type; typename std::enable_if<(std::_PCC::_MoveConstructiblePair<_U1, _U2>() && std::_PCC::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type = true; _T1 = const char* const; _T2 = rpc::command_map_data_type]' at /usr/include/c++/13.2.1/bits/stl_pair.h:688:35, inlined from 'void rpc::CommandMap::create_redirect(std::map::key_type, std::map::key_type, int)' at command_map.cc:145:36: command_map.h:64:47: warning: '.rpc::command_map_data_type::m_anySlot' may be used uninitialized [-Wmaybe-uninitialized] 64 | m_variable(src.m_variable), m_anySlot(src.m_anySlot), | ~~~~^~~~~~~~~ command_map.cc: In member function 'void rpc::CommandMap::create_redirect(std::map::key_type, std::map::key_type, int)': command_map.cc:147:100: note: '' declared here 147 | dest_itr->second.m_doc))); | ^ 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++/13.2.1/string:49: /usr/include/c++/13.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++/13.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 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 { | ^~~~~~ 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 { | ^~~~~~ 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++/13.2.1/functional:49, from ../../rak/string_manip.h:44, from xmlrpc.cc:45: /usr/include/c++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/command_map.Tpo .deps/command_map.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438, from /usr/include/c++/13.2.1/bits/refwrap.h:39, from /usr/include/c++/13.2.1/vector:68, from /usr/include/torrent/download.h:41: /usr/include/c++/13.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 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++/13.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++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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++/13.2.1/bits/stl_pair.h:688:4, inlined from 'constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = torrent::Object; _T2 = const char*&]' at /usr/include/c++/13.2.1/bits/stl_pair.h:927:72, inlined from 'rpc::parse_command_type rpc::parse_command(target_type, const char*, const char*)' at parse_commands.cc:137:51: /usr/include/torrent/object.h:350:32: warning: '.torrent::Object::.torrent::Object::::t_pod' may be used uninitialized [-Wmaybe-uninitialized] 350 | case TYPE_VALUE: t_pod = b.t_pod; break; | ~~~~~~^~~~~~~~~ parse_commands.cc: In function 'rpc::parse_command_type rpc::parse_command(target_type, const char*, const char*)': parse_commands.cc:137:43: note: '' declared here 137 | return std::make_pair(torrent::Object(), first); | ^ mv -f .deps/command_scheduler_item.Tpo .deps/command_scheduler_item.Po mv -f .deps/parse_commands.Tpo .deps/parse_commands.Po mv -f .deps/scgi.Tpo .deps/scgi.Po mv -f .deps/parse.Tpo .deps/parse.Po mv -f .deps/command_scheduler.Tpo .deps/command_scheduler.Po mv -f .deps/xmlrpc.Tpo .deps/xmlrpc.Po 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 '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/rpc' Making all in ui make[3]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/ui' g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -DNDEBUG -Wall -I/usr/include -MT root.o -MD -MP -MF .deps/root.Tpo -c -o root.o root.cc 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/torrent/exceptions.h:47, from element_log_complete.cc:39: /usr/include/c++/13.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 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++/13.2.1/string:49, from /usr/include/torrent/exceptions.h:47, from element_base.cc:39: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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_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++/13.2.1/string:49: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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/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 { | ^~~~~~ 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ./../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_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 /usr/include/c++/13.2.1/string:49, from /usr/include/torrent/exceptions.h:47, from element_menu.cc:39: /usr/include/c++/13.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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.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 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++/13.2.1/functional:49, from ../../rak/algorithm.h:41: /usr/include/c++/13.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 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/torrent/exceptions.h:47, from element_string_list.cc:39: /usr/include/c++/13.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++/13.2.1/functional:49, from ../../rak/functional.h:41: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/torrent/exceptions.h:47, from element_peer_list.cc:39: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../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_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++/13.2.1/string:49, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/istream:40, from /usr/include/c++/13.2.1/sstream:40, from download_list.cc:39: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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_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++/13.2.1/string:49: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/element_base.Tpo .deps/element_base.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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 ./../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 { | ^~~~~~ ./../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++/13.2.1/string:49, from /usr/include/torrent/exceptions.h:47, from element_text.cc:39: /usr/include/c++/13.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++/13.2.1/string:49, from /usr/include/torrent/exceptions.h:47, from element_tracker_list.cc:39: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.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_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++/13.2.1/string:49, from /usr/include/torrent/exceptions.h:47, from element_chunks_seen.cc:39: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.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_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++/13.2.1/string:49, from /usr/include/torrent/exceptions.h:47, from element_transfer_list.cc:39: /usr/include/c++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:117:12: note: declared here 117 | struct unary_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:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from ../../rak/algorithm.h:40: /usr/include/c++/13.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 ./../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_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' ./../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++/13.2.1/string:49: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42, 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/torrent/exceptions.h:47, from element_download_list.cc:39: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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 ./../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++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/string:49: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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 ../../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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/istream:40, from /usr/include/c++/13.2.1/fstream:40, from root.cc:39: /usr/include/c++/13.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 ../../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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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 ./../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++/13.2.1/string:49: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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.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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63: /usr/include/c++/13.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 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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/element_menu.Tpo .deps/element_menu.Po mv -f .deps/element_tracker_list.Tpo .deps/element_tracker_list.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 { | ^~~~~~ ./../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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ root.cc: In member function 'void ui::Root::load_input_history()': root.cc:416:23: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 416 | if (delim_pos != std::string::npos) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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 ./../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++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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 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 mv -f .deps/element_transfer_list.Tpo .deps/element_transfer_list.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/element_peer_list.Tpo .deps/element_peer_list.Po mv -f .deps/element_file_list.Tpo .deps/element_file_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 '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/ui' Making all in utils make[3]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/utils' g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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 '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/utils' make[3]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src' g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -DNDEBUG -Wall -I/usr/include -MT command_scheduler.o -MD -MP -MF .deps/command_scheduler.Tpo -c -o command_scheduler.o command_scheduler.cc 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/torrent/exceptions.h:47, from command_helpers.cc:39: /usr/include/c++/13.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_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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/algorithm:60, from command_dynamic.cc:39: /usr/include/c++/13.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 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from ../rak/socket_address.h:51, from ../rak/address_info.h:47, from command_throttle.cc:40: /usr/include/c++/13.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 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63, from command_events.cc:39: /usr/include/c++/13.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 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from core/manager.h:41: /usr/include/c++/13.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 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/istream:40, from /usr/include/c++/13.2.1/fstream:40, from command_ip.cc:39: /usr/include/c++/13.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 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 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 ../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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63, from command_network.cc:39: /usr/include/c++/13.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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from ../rak/path.h:44, from command_file.cc:40: /usr/include/c++/13.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++/13.2.1/string:49: /usr/include/c++/13.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_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command_scheduler.h:43, from command_events.cc:54: ../rak/functional_fun.h: At global scope: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/functional:49: /usr/include/c++/13.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++/13.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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from /usr/include/torrent/download/resource_manager.h:40, from command_groups.cc:39: /usr/include/c++/13.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_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++/13.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_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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from /usr/include/torrent/data/chunk_utils.h:40, from command_logging.cc:6: /usr/include/c++/13.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 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++/13.2.1/string:49, from /usr/include/c++/13.2.1/bits/locale_classes.h:40, from /usr/include/c++/13.2.1/bits/ios_base.h:41, from /usr/include/c++/13.2.1/ios:44, from /usr/include/c++/13.2.1/ostream:40, from /usr/include/c++/13.2.1/iostream:41, from main.cc:42: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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_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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from ../rak/socket_address.h:51, from ../rak/address_info.h:47, from command_tracker.cc:40: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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++/13.2.1/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42, 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47: /usr/include/c++/13.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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63, from command_local.cc:40: /usr/include/c++/13.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_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/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++/13.2.1/string:49: /usr/include/c++/13.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_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 { | ^~~~~~ 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 { | ^~~~~~ 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++/13.2.1/bits/refwrap.h:39, from /usr/include/c++/13.2.1/vector:68: /usr/include/c++/13.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 { | ^~~~~~ 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++/13.2.1/string:49, from /usr/include/c++/13.2.1/bitset:52, from /usr/include/torrent/utils/log.h:40, from command_dynamic.cc:40: /usr/include/c++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/13.2.1/string:49: /usr/include/c++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/13.2.1/functional:49, from command_download.cc:39: /usr/include/c++/13.2.1/bits/stl_function.h:117:12: note: declared here 117 | struct unary_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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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_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 { | ^~~~~~ 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++/13.2.1/functional:49: /usr/include/c++/13.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++/13.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++/13.2.1/string:49: /usr/include/c++/13.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 { | ^~~~~~ 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++/13.2.1/string:49: /usr/include/c++/13.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_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++/13.2.1/bits/refwrap.h:39, from /usr/include/c++/13.2.1/vector:68: /usr/include/c++/13.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_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 { | ^~~~~~ 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++/13.2.1/string:49: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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 g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -DNDEBUG -Wall -I/usr/include -MT command_ui.o -MD -MP -MF .deps/command_ui.Tpo -c -o command_ui.o command_ui.cc 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 { | ^~~~~~ ../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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.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++/13.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++/13.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)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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++/13.2.1/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ 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++/13.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++/13.2.1/bits/stl_function.h:1371:5: note: declared here 1371 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42, 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++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from ../rak/path.h:44, from command_peer.cc:40: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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++/13.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++/13.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++/13.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_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/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 { | ^~~~~~ 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++/13.2.1/string:49: /usr/include/c++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/13.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++/13.2.1/functional:49: /usr/include/c++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ command_download.cc: In function 'torrent::Object d_list_push_back_unique(core::Download*, const torrent::Object&, const char*, const char*)': command_download.cc:597:45: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const torrent::Object&; _Arg2 = const torrent::Object&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 597 | rak::bind1st(std::ptr_fun(&torrent::object_equal), args)) == list.end()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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++/13.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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ command_local.cc: In function 'void file_print_list(torrent::Object::list_const_iterator, torrent::Object::list_const_iterator, FILE*, int)': command_local.cc:198:44: warning: format '%lli' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] 198 | fprintf(output, (const char*)" %lli" + !(flags & file_print_use_space), first->as_value()); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | long int command_local.cc:198:41: warning: format '%lli' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] 198 | fprintf(output, (const char*)" %lli" + !(flags & file_print_use_space), first->as_value()); | ~~~^ ~~~~~~~~~~~~~~~~~ | | | | long long int long int | %li ../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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_logging.Tpo .deps/command_logging.Po g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -DNDEBUG -Wall -I/usr/include -MT control.o -MD -MP -MF .deps/control.Tpo -c -o control.o control.cc ../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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_scheduler.Tpo .deps/command_scheduler.Po g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -DNDEBUG -Wall -I/usr/include -MT globals.o -MD -MP -MF .deps/globals.Tpo -c -o globals.o globals.cc In file included from command_ui.cc:44: ../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/string:49, from /usr/include/c++/13.2.1/bitset:52, from /usr/include/c++/13.2.1/regex:40, from command_ui.cc:42: /usr/include/c++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from command_ui.cc:45: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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_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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bitset:49: /usr/include/c++/13.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_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 ../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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63, from ../rak/priority_queue_default.h:40: /usr/include/c++/13.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 { | ^~~~~~~~~~~~~~~ /usr/include/c++/13.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 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/list:62, from /usr/include/torrent/connection_manager.h:42, from control.cc:41: /usr/include/c++/13.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/command_peer.Tpo .deps/command_peer.Po g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -DNDEBUG -Wall -I/usr/include -MT option_parser.o -MD -MP -MF .deps/option_parser.Tpo -c -o option_parser.o option_parser.cc ../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/command_file.Tpo .deps/command_file.Po g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -DNDEBUG -Wall -I/usr/include -MT signal_handler.o -MD -MP -MF .deps/signal_handler.Tpo -c -o signal_handler.o signal_handler.cc 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++/13.2.1/functional:49, from /usr/include/torrent/connection_manager.h:48: /usr/include/c++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438, from /usr/include/c++/13.2.1/functional:49: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_ip.Tpo .deps/command_ip.Po g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -DNDEBUG -Wall -I/usr/include -MT thread_base.o -MD -MP -MF .deps/thread_base.Tpo -c -o thread_base.o thread_base.cc mv -f .deps/command_tracker.Tpo .deps/command_tracker.Po g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -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 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++/13.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++/13.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 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++/13.2.1/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mv -f .deps/globals.Tpo .deps/globals.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/command_throttle.Tpo .deps/command_throttle.Po mv -f .deps/command_groups.Tpo .deps/command_groups.Po 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++/13.2.1/functional:49, from option_parser.cc:42: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.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++/13.2.1/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ 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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63, 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++/13.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++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63, 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++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ mv -f .deps/main.Tpo .deps/main.Po mv -f .deps/signal_handler.Tpo .deps/signal_handler.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' mv -f .deps/command_network.Tpo .deps/command_network.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' mv -f .deps/command_events.Tpo .deps/command_events.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++/13.2.1/bits/stl_function.h:1438, from /usr/include/c++/13.2.1/functional:49: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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++/13.2.1/functional:49: /usr/include/c++/13.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++/13.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 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++/13.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 ../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++/13.2.1/bits/stl_function.h:1438: /usr/include/c++/13.2.1/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ command_dynamic.cc: In function 'torrent::Object system_method_insert(const torrent::Object::list_type&)': command_dynamic.cc:322:9: warning: 'new_flags' may be used uninitialized [-Wmaybe-uninitialized] 322 | int new_flags; | ^~~~~~~~~ mv -f .deps/command_dynamic.Tpo .deps/command_dynamic.Po mv -f .deps/thread_base.Tpo .deps/thread_base.Po mv -f .deps/control.Tpo .deps/control.Po mv -f .deps/thread_worker.Tpo .deps/thread_worker.Po mv -f .deps/command_local.Tpo .deps/command_local.Po mv -f .deps/command_download.Tpo .deps/command_download.Po 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++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -DNDEBUG -Wall -I/usr/include -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -lcurl -ltorrent -L/usr/lib -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lpthread libtool: link: g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-strict-aliasing -DNDEBUG -Wall -I/usr/include -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -lcurl -ltorrent -L/usr/lib -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lpthread make[3]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src' make[2]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src' Making all in test make[2]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/test' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/test' make[2]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8' make[2]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8' make[1]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8' ==> Entering fakeroot environment... ==> Starting package()... Making install in doc make[1]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/doc' make[2]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/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 '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/doc' make[1]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/doc' Making install in src make[1]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src' Making install in core make[2]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/core' make[3]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/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 '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/core' make[2]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/core' Making install in display make[2]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/display' make[3]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/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 '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/display' make[2]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/display' Making install in input make[2]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/input' make[3]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/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 '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/input' make[2]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/input' Making install in rpc make[2]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/rpc' make[3]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/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 '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/rpc' make[2]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/rpc' Making install in ui make[2]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/ui' make[3]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/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 '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/ui' make[2]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/ui' Making install in utils make[2]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/utils' make[3]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/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 '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/utils' make[2]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src/utils' make[2]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src' make[3]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src' make[3]: Nothing to be done for 'install-data-am'. /usr/sbin/mkdir -p '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/pkg/rtorrent/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c rtorrent '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/pkg/rtorrent/usr/bin' libtool: install: /usr/bin/install -c rtorrent /tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/pkg/rtorrent/usr/bin/rtorrent make[3]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src' make[2]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src' make[1]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/src' Making install in test make[1]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/test' make[2]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/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 '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/test' make[1]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8/test' make[1]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8' make[2]: Entering directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/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 '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8' make[1]: Leaving directory '/tmp/archlinux-ci/rtorrent-archlinuxrb-build-ljC0k1ZW/rtorrent/trunk/src/rtorrent-0.9.8' ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "rtorrent"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: rtorrent 0.9.8-4 (Thu Sep 5 18:43:46 2024)