>>> rtorrent: Building community/rtorrent 0.10.0-r0 (using abuild 3.14.1-r3) started Tue, 19 Nov 2024 15:11:06 +0000 >>> rtorrent: Validating /home/buildozer/aports/community/rtorrent/APKBUILD... >>> rtorrent: Analyzing dependencies... >>> rtorrent: Installing for build: build-base autoconf automake curl-dev libsigc++3-dev libtool libtorrent-dev ncurses-dev xmlrpc-c-dev cppunit-dev (1/46) Installing m4 (1.4.19-r3) (2/46) Installing libbz2 (1.0.8-r6) (3/46) Installing perl (5.40.0-r3) (4/46) Installing autoconf (2.72-r0) (5/46) Installing automake (1.17-r0) (6/46) Installing brotli (1.1.0-r2) (7/46) Installing brotli-dev (1.1.0-r2) (8/46) Installing c-ares-dev (1.34.3-r0) (9/46) Installing libidn2-dev (2.3.7-r0) (10/46) Installing libpsl-utils (0.21.5-r3) (11/46) Installing libpsl-dev (0.21.5-r3) (12/46) Installing nghttp2-dev (1.64.0-r0) (13/46) Installing openssl-dev (3.3.2-r4) (14/46) Installing zlib-dev (1.3.1-r2) (15/46) Installing zstd (1.5.6-r1) (16/46) Installing zstd-dev (1.5.6-r1) (17/46) Installing curl-dev (8.11.0-r2) (18/46) Installing libsigc++3 (3.6.0-r0) (19/46) Installing libsigc++3-dev (3.6.0-r0) (20/46) Installing libltdl (2.4.7-r3) (21/46) Installing libtool (2.4.7-r3) (22/46) Installing libtorrent (0.14.0-r0) (23/46) Installing libtorrent-dev (0.14.0-r0) (24/46) Installing libformw (6.5_p20241006-r3) (25/46) Installing libmenuw (6.5_p20241006-r3) (26/46) Installing libpanelw (6.5_p20241006-r3) (27/46) Installing libncurses++ (6.5_p20241006-r3) (28/46) Installing ncurses-dev (6.5_p20241006-r3) (29/46) Installing xz-libs (5.6.3-r0) (30/46) Installing xz (5.6.3-r0) (31/46) Installing xz-dev (5.6.3-r0) (32/46) Installing libxml2 (2.13.4-r3) (33/46) Installing libxml2-utils (2.13.4-r3) (34/46) Installing libxml2-dev (2.13.4-r3) (35/46) Installing xmlrpc-c (1.51.08-r4) (36/46) Installing xmlrpc-c-abyss (1.51.08-r4) (37/46) Installing xmlrpc-c++ (1.51.08-r4) (38/46) Installing xmlrpc-c-client (1.51.08-r4) (39/46) Installing xmlrpc-c-client++ (1.51.08-r4) (40/46) Installing xmlrpc-c-dev (1.51.08-r4) (41/46) Installing cppunit (1.15.1-r4) (42/46) Installing cppunit-dev (1.15.1-r4) (43/46) Installing .makedepends-rtorrent (20241119.151107) (44/46) Installing perl-error (0.17029-r2) (45/46) Installing perl-git (2.47.0-r0) (46/46) Installing git-perl (2.47.0-r0) Executing busybox-1.37.0-r7.trigger OK: 326 MiB in 147 packages >>> rtorrent: Cleaning up srcdir >>> rtorrent: Cleaning up pkgdir >>> rtorrent: Cleaning up tmpdir >>> rtorrent: Fetching https://distfiles.alpinelinux.org/distfiles/edge/rtorrent-0.10.0.tar.gz >>> rtorrent: Fetching https://distfiles.alpinelinux.org/distfiles/edge/rtorrent-0.10.0.tar.gz >>> rtorrent: Checking sha512sums... rtorrent-0.10.0.tar.gz: OK add-ax_require_defined-m4.patch: OK >>> rtorrent: Unpacking /var/cache/distfiles/edge/rtorrent-0.10.0.tar.gz... >>> rtorrent: add-ax_require_defined-m4.patch patching file scripts/ax_require_defined.m4 autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I scripts autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:13: installing './compile' configure.ac:43: installing './config.guess' configure.ac:43: installing './config.sub' configure.ac:7: installing './install-sh' configure.ac:7: installing './missing' src/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' autoreconf: Leaving directory '.' checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 2 checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking for armv7-alpine-linux-musleabihf-ranlib... no checking for ranlib... ranlib checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether 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 for armv7-alpine-linux-musleabihf-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 gcc option to enable large file support... none needed checking whether g++ supports C++14 features with -std=c++14... yes checking for user-defined CFLAGS... user-defined "-Os -fstack-clash-protection -Wformat -Werror=format-security" checking for user-defined CXXFLAGS... user-defined "-Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1" 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 sys/vfs.h... yes checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for statvfs... ok checking for execinfo.h... no checking for library containing backtrace... no checking build system type... armv7-alpine-linux-musleabihf checking host system type... armv7-alpine-linux-musleabihf checking for a sed that does not truncate output... /bin/sed checking how to run the C preprocessor... gcc -E checking for egrep -e... /bin/grep -E checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for armv7-alpine-linux-musleabihf-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ncursesw via pkg-config... yes checking for working ncursesw/curses.h... no checking for working ncursesw.h... no checking for working ncurses.h... yes checking for gcc options needed to detect all undeclared functions... none needed checking for libcurl... yes checking for cppunit... yes checking for libtorrent >= 0.14.0... 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 test/Makefile config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0' Making all in doc make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/doc' Making all in src make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/src' depbase=`echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT main.o -MD -MP -MF $depbase.Tpo -c -o main.o main.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo command_download.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT command_download.o -MD -MP -MF $depbase.Tpo -c -o command_download.o command_download.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo command_dynamic.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT command_dynamic.o -MD -MP -MF $depbase.Tpo -c -o command_dynamic.o command_dynamic.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo command_events.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT command_events.o -MD -MP -MF $depbase.Tpo -c -o command_events.o command_events.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo command_file.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT command_file.o -MD -MP -MF $depbase.Tpo -c -o command_file.o command_file.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo command_ip.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT command_ip.o -MD -MP -MF $depbase.Tpo -c -o command_ip.o command_ip.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo command_helpers.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT command_helpers.o -MD -MP -MF $depbase.Tpo -c -o command_helpers.o command_helpers.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo command_groups.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT command_groups.o -MD -MP -MF $depbase.Tpo -c -o command_groups.o command_groups.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo command_local.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT command_local.o -MD -MP -MF $depbase.Tpo -c -o command_local.o command_local.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo command_logging.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT command_logging.o -MD -MP -MF $depbase.Tpo -c -o command_logging.o command_logging.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo command_network.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT command_network.o -MD -MP -MF $depbase.Tpo -c -o command_network.o command_network.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo command_peer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT command_peer.o -MD -MP -MF $depbase.Tpo -c -o command_peer.o command_peer.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo command_throttle.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT command_throttle.o -MD -MP -MF $depbase.Tpo -c -o command_throttle.o command_throttle.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo command_tracker.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT command_tracker.o -MD -MP -MF $depbase.Tpo -c -o command_tracker.o command_tracker.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo command_scheduler.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT command_scheduler.o -MD -MP -MF $depbase.Tpo -c -o command_scheduler.o command_scheduler.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo command_ui.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT command_ui.o -MD -MP -MF $depbase.Tpo -c -o command_ui.o command_ui.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo control.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT control.o -MD -MP -MF $depbase.Tpo -c -o control.o control.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo globals.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT globals.o -MD -MP -MF $depbase.Tpo -c -o globals.o globals.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo option_parser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT option_parser.o -MD -MP -MF $depbase.Tpo -c -o option_parser.o option_parser.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo signal_handler.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT signal_handler.o -MD -MP -MF $depbase.Tpo -c -o signal_handler.o signal_handler.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo thread_base.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT thread_base.o -MD -MP -MF $depbase.Tpo -c -o thread_base.o thread_base.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo thread_worker.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT thread_worker.o -MD -MP -MF $depbase.Tpo -c -o thread_worker.o thread_worker.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo core/curl_get.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT core/curl_get.o -MD -MP -MF $depbase.Tpo -c -o core/curl_get.o core/curl_get.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo core/curl_socket.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT core/curl_socket.o -MD -MP -MF $depbase.Tpo -c -o core/curl_socket.o core/curl_socket.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo core/curl_stack.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT core/curl_stack.o -MD -MP -MF $depbase.Tpo -c -o core/curl_stack.o core/curl_stack.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo core/dht_manager.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT core/dht_manager.o -MD -MP -MF $depbase.Tpo -c -o core/dht_manager.o core/dht_manager.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo core/download.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT core/download.o -MD -MP -MF $depbase.Tpo -c -o core/download.o core/download.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo core/download_factory.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT core/download_factory.o -MD -MP -MF $depbase.Tpo -c -o core/download_factory.o core/download_factory.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo core/download_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT core/download_list.o -MD -MP -MF $depbase.Tpo -c -o core/download_list.o core/download_list.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo core/download_store.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT core/download_store.o -MD -MP -MF $depbase.Tpo -c -o core/download_store.o core/download_store.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo core/http_queue.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT core/http_queue.o -MD -MP -MF $depbase.Tpo -c -o core/http_queue.o core/http_queue.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo core/manager.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT core/manager.o -MD -MP -MF $depbase.Tpo -c -o core/manager.o core/manager.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo core/poll_manager.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT core/poll_manager.o -MD -MP -MF $depbase.Tpo -c -o core/poll_manager.o core/poll_manager.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo core/view.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT core/view.o -MD -MP -MF $depbase.Tpo -c -o core/view.o core/view.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo core/view_manager.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT core/view_manager.o -MD -MP -MF $depbase.Tpo -c -o core/view_manager.o core/view_manager.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/canvas.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/canvas.o -MD -MP -MF $depbase.Tpo -c -o display/canvas.o display/canvas.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/frame.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/frame.o -MD -MP -MF $depbase.Tpo -c -o display/frame.o display/frame.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/manager.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/manager.o -MD -MP -MF $depbase.Tpo -c -o display/manager.o display/manager.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/utils.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/utils.o -MD -MP -MF $depbase.Tpo -c -o display/utils.o display/utils.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/text_element_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/text_element_list.o -MD -MP -MF $depbase.Tpo -c -o display/text_element_list.o display/text_element_list.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/text_element_string.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/text_element_string.o -MD -MP -MF $depbase.Tpo -c -o display/text_element_string.o display/text_element_string.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/text_element_value.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/text_element_value.o -MD -MP -MF $depbase.Tpo -c -o display/text_element_value.o display/text_element_value.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/window.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/window.o -MD -MP -MF $depbase.Tpo -c -o display/window.o display/window.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/window_download_chunks_seen.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/window_download_chunks_seen.o -MD -MP -MF $depbase.Tpo -c -o display/window_download_chunks_seen.o display/window_download_chunks_seen.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/window_download_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/window_download_list.o -MD -MP -MF $depbase.Tpo -c -o display/window_download_list.o display/window_download_list.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/window_download_statusbar.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/window_download_statusbar.o -MD -MP -MF $depbase.Tpo -c -o display/window_download_statusbar.o display/window_download_statusbar.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/window_download_transfer_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/window_download_transfer_list.o -MD -MP -MF $depbase.Tpo -c -o display/window_download_transfer_list.o display/window_download_transfer_list.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/window_file_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/window_file_list.o -MD -MP -MF $depbase.Tpo -c -o display/window_file_list.o display/window_file_list.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/window_http_queue.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/window_http_queue.o -MD -MP -MF $depbase.Tpo -c -o display/window_http_queue.o display/window_http_queue.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/window_input.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/window_input.o -MD -MP -MF $depbase.Tpo -c -o display/window_input.o display/window_input.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/window_log.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/window_log.o -MD -MP -MF $depbase.Tpo -c -o display/window_log.o display/window_log.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/window_log_complete.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/window_log_complete.o -MD -MP -MF $depbase.Tpo -c -o display/window_log_complete.o display/window_log_complete.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/window_peer_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/window_peer_list.o -MD -MP -MF $depbase.Tpo -c -o display/window_peer_list.o display/window_peer_list.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/window_statusbar.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/window_statusbar.o -MD -MP -MF $depbase.Tpo -c -o display/window_statusbar.o display/window_statusbar.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/window_string_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/window_string_list.o -MD -MP -MF $depbase.Tpo -c -o display/window_string_list.o display/window_string_list.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/window_text.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/window_text.o -MD -MP -MF $depbase.Tpo -c -o display/window_text.o display/window_text.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/window_title.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/window_title.o -MD -MP -MF $depbase.Tpo -c -o display/window_title.o display/window_title.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display/window_tracker_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT display/window_tracker_list.o -MD -MP -MF $depbase.Tpo -c -o display/window_tracker_list.o display/window_tracker_list.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo input/bindings.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT input/bindings.o -MD -MP -MF $depbase.Tpo -c -o input/bindings.o input/bindings.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo input/input_event.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT input/input_event.o -MD -MP -MF $depbase.Tpo -c -o input/input_event.o input/input_event.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo input/manager.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT input/manager.o -MD -MP -MF $depbase.Tpo -c -o input/manager.o input/manager.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo input/path_input.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT input/path_input.o -MD -MP -MF $depbase.Tpo -c -o input/path_input.o input/path_input.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo input/text_input.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT input/text_input.o -MD -MP -MF $depbase.Tpo -c -o input/text_input.o input/text_input.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo rpc/command.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/command.o -MD -MP -MF $depbase.Tpo -c -o rpc/command.o rpc/command.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo rpc/command_map.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/command_map.o -MD -MP -MF $depbase.Tpo -c -o rpc/command_map.o rpc/command_map.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo rpc/command_scheduler.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/command_scheduler.o -MD -MP -MF $depbase.Tpo -c -o rpc/command_scheduler.o rpc/command_scheduler.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo rpc/command_scheduler_item.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/command_scheduler_item.o -MD -MP -MF $depbase.Tpo -c -o rpc/command_scheduler_item.o rpc/command_scheduler_item.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo rpc/exec_file.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/exec_file.o -MD -MP -MF $depbase.Tpo -c -o rpc/exec_file.o rpc/exec_file.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo rpc/object_storage.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/object_storage.o -MD -MP -MF $depbase.Tpo -c -o rpc/object_storage.o rpc/object_storage.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo rpc/parse.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/parse.o -MD -MP -MF $depbase.Tpo -c -o rpc/parse.o rpc/parse.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo rpc/parse_commands.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/parse_commands.o -MD -MP -MF $depbase.Tpo -c -o rpc/parse_commands.o rpc/parse_commands.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo rpc/parse_options.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/parse_options.o -MD -MP -MF $depbase.Tpo -c -o rpc/parse_options.o rpc/parse_options.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo rpc/scgi.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/scgi.o -MD -MP -MF $depbase.Tpo -c -o rpc/scgi.o rpc/scgi.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo rpc/scgi_task.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/scgi_task.o -MD -MP -MF $depbase.Tpo -c -o rpc/scgi_task.o rpc/scgi_task.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo rpc/xmlrpc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/xmlrpc.o -MD -MP -MF $depbase.Tpo -c -o rpc/xmlrpc.o rpc/xmlrpc.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo ui/download.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT ui/download.o -MD -MP -MF $depbase.Tpo -c -o ui/download.o ui/download.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo ui/download_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT ui/download_list.o -MD -MP -MF $depbase.Tpo -c -o ui/download_list.o ui/download_list.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo ui/element_base.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT ui/element_base.o -MD -MP -MF $depbase.Tpo -c -o ui/element_base.o ui/element_base.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo ui/element_chunks_seen.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT ui/element_chunks_seen.o -MD -MP -MF $depbase.Tpo -c -o ui/element_chunks_seen.o ui/element_chunks_seen.cc &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo ui/element_download_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT ui/element_download_list.o -MD -MP -MF $depbase.Tpo -c -o ui/element_download_list.o ui/element_download_list.cc &&\ mv -f $depbase.Tpo $depbase.Po In file included from globals.h:41, from command_helpers.cc:41: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from command_download.cc:45: ../rak/socket_address.h: In member function 'void rak::socket_address::copy_sockaddr(const sockaddr*)': ../rak/socket_address.h:396:14: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of type 'class rak::socket_address' with 'private' member 'rak::socket_address::' from an array of 'const struct sockaddr'; use assignment or copy-initialization instead [-Wclass-memaccess] 396 | std::memcpy(this, src, socket_address::cast_from(src)->length()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/socket_address.h:66:7: note: 'class rak::socket_address' declared here 66 | class socket_address { | ^~~~~~~~~~~~~~ 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++/14.2.0/string:49, from /usr/include/c++/14.2.0/bits/locale_classes.h:40, from /usr/include/c++/14.2.0/bits/ios_base.h:41, from /usr/include/c++/14.2.0/ios:44, from /usr/include/c++/14.2.0/ostream:40, from /usr/include/c++/14.2.0/iostream:41, from main.cc:42: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from command_peer.cc:41: ../rak/socket_address.h: In member function 'void rak::socket_address::copy_sockaddr(const sockaddr*)': ../rak/socket_address.h:396:14: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of type 'class rak::socket_address' with 'private' member 'rak::socket_address::' from an array of 'const struct sockaddr'; use assignment or copy-initialization instead [-Wclass-memaccess] 396 | std::memcpy(this, src, socket_address::cast_from(src)->length()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/socket_address.h:66:7: note: 'class rak::socket_address' declared here 66 | class socket_address { | ^~~~~~~~~~~~~~ In file included from core/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++/14.2.0/functional:49, from ../rak/functional.h:41: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from display/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++/14.2.0/functional:49, from display/frame.cc:40: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/14.2.0/functional:49, from option_parser.cc:42: /usr/include/c++/14.2.0/bits/stl_function.h:1150:5: note: declared here 1150 | 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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/address_info.h:47, from command_throttle.cc:40: ../rak/socket_address.h: In member function 'void rak::socket_address::copy_sockaddr(const sockaddr*)': ../rak/socket_address.h:396:14: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of type 'class rak::socket_address' with 'private' member 'rak::socket_address::' from an array of 'const struct sockaddr'; use assignment or copy-initialization instead [-Wclass-memaccess] 396 | std::memcpy(this, src, socket_address::cast_from(src)->length()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/socket_address.h:66:7: note: 'class rak::socket_address' declared here 66 | class socket_address { | ^~~~~~~~~~~~~~ In file included from ../rak/address_info.h:47, from command_tracker.cc:40: ../rak/socket_address.h: In member function 'void rak::socket_address::copy_sockaddr(const sockaddr*)': ../rak/socket_address.h:396:14: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of type 'class rak::socket_address' with 'private' member 'rak::socket_address::' from an array of 'const struct sockaddr'; use assignment or copy-initialization instead [-Wclass-memaccess] 396 | std::memcpy(this, src, socket_address::cast_from(src)->length()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/socket_address.h:66:7: note: 'class rak::socket_address' declared here 66 | class socket_address { | ^~~~~~~~~~~~~~ In file included from display/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++/14.2.0/functional:49, from ../rak/algorithm.h:41: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from display/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++/14.2.0/functional:49, from ../rak/functional.h:41: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from display/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++/14.2.0/functional:49, from ../rak/functional.h:41: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from input/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++/14.2.0/functional:49, from input/path_input.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from input/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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from core/dht_manager.h:40, from main.cc:60: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/address_info.h:47, from command_network.cc:42: ../rak/socket_address.h: In member function 'void rak::socket_address::copy_sockaddr(const sockaddr*)': ../rak/socket_address.h:396:14: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of type 'class rak::socket_address' with 'private' member 'rak::socket_address::' from an array of 'const struct sockaddr'; use assignment or copy-initialization instead [-Wclass-memaccess] 396 | std::memcpy(this, src, socket_address::cast_from(src)->length()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/socket_address.h:66:7: note: 'class rak::socket_address' declared here 66 | class socket_address { | ^~~~~~~~~~~~~~ In file included from display/window_peer_list.cc:40: ../rak/socket_address.h: In member function 'void rak::socket_address::copy_sockaddr(const sockaddr*)': ../rak/socket_address.h:396:14: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of type 'class rak::socket_address' with 'private' member 'rak::socket_address::' from an array of 'const struct sockaddr'; use assignment or copy-initialization instead [-Wclass-memaccess] 396 | std::memcpy(this, src, socket_address::cast_from(src)->length()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/socket_address.h:66:7: note: 'class rak::socket_address' declared here 66 | class socket_address { | ^~~~~~~~~~~~~~ In file included from display/window.h:41, from display/window_title.h:41, from display/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++/14.2.0/string:49, from display/canvas.h:40, from display/window_title.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from core/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++/14.2.0/functional:49, from core/view.cc:40: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from display/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++/14.2.0/functional:49, from ../rak/algorithm.h:41: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/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++/14.2.0/functional:49, from ../rak/functional.h:41: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ui/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++/14.2.0/functional:49, from ../rak/functional.h:41: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from display/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++/14.2.0/string:49, from /usr/include/c++/14.2.0/stdexcept:39, from display/manager.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from display/window.h:41, from display/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++/14.2.0/string:49, from /usr/include/c++/14.2.0/stdexcept:39, from display/window.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from display/window.h:41, from display/window_input.h:42, from display/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++/14.2.0/string:49, from display/canvas.h:40, from display/window_input.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from globals.h:41, from command_dynamic.cc:43: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from core/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++/14.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from core/curl_stack.cc:41: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./globals.h:41, from display/window.h:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../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++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from core/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++/14.2.0/string:49, from ../rak/file_stat.h:40, from core/download.cc:40: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from display/window.h:41, from display/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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:41, from core/poll_manager.cc:46: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from display/window.h:41, from display/window_string_list.h:43, from display/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++/14.2.0/string:49, from display/canvas.h:40, from display/window_string_list.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:238, 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:42: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ./control.h:43, from core/curl_socket.cc:46: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' input/manager.cc: In member function 'void input::Manager::pressed(int)': input/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++/14.2.0/functional:49, from input/manager.cc:40: /usr/include/c++/14.2.0/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ input/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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from thread_base.h:44, from thread_base.cc:39: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' 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++/14.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from command_helpers.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:41, from ui/download_list.h:41, from ui/root.h:42, from command_groups.cc:9: ../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' depbase=`echo ui/element_file_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT ui/element_file_list.o -MD -MP -MF $depbase.Tpo -c -o ui/element_file_list.o ui/element_file_list.cc &&\ mv -f $depbase.Tpo $depbase.Po In file included from thread_base.h:44, from thread_worker.h:40, from thread_worker.cc:39: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from core/view.cc:42: ../rak/functional_fun.h:69:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:77:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:41, from display/window.h:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./globals.h:41, from display/window.h:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from core/curl_get.h:45, from core/curl_stack.cc:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./globals.h:41, from display/manager.cc:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./globals.h:41, from display/text_element_value.cc:41: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./globals.h:41, from core/curl_get.cc:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from display/window.h:41, from display/window_log_complete.h:42, from display/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++/14.2.0/string:49, from display/canvas.h:40, from display/window_log_complete.cc:41: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from display/utils.cc:43: ../rak/socket_address.h: In member function 'void rak::socket_address::copy_sockaddr(const sockaddr*)': ../rak/socket_address.h:396:14: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of type 'class rak::socket_address' with 'private' member 'rak::socket_address::' from an array of 'const struct sockaddr'; use assignment or copy-initialization instead [-Wclass-memaccess] 396 | std::memcpy(this, src, socket_address::cast_from(src)->length()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/socket_address.h:66:7: note: 'class rak::socket_address' declared here 66 | class socket_address { | ^~~~~~~~~~~~~~ ../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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from command_download.cc:47: ../rak/regex.h: At global scope: ../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++/14.2.0/functional:49, from command_download.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./display/window.h:41, from ui/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++/14.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from ui/element_base.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./control.h:43, from display/window_statusbar.cc:42: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' input/path_input.cc: In member function 'input::PathInput::range_type input::PathInput::find_incomplete(utils::Directory&, const std::string&)': input/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++/14.2.0/bits/stl_function.h:1150:5: note: declared here 1150 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ input/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++/14.2.0/bits/stl_function.h:1150:5: note: declared here 1150 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from ./globals.h:41, from display/window.h:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from core/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++/14.2.0/bits/unique_ptr.h:38, from /usr/include/c++/14.2.0/memory:78, from core/http_queue.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./core/curl_get.h:45, from display/window_http_queue.cc:41: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' core/curl_socket.cc: In destructor 'virtual core::CurlSocket::~CurlSocket()': core/curl_socket.cc:95:5: warning: 'throw' will always call 'terminate' [-Wterminate] 95 | throw torrent::internal_error("CurlSocket::~CurlSocket() m_fileDesc != -1."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core/curl_socket.cc:95:5: 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 ui/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++/14.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from ui/element_chunks_seen.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/address_info.h:47, from core/manager.cc:45: ../rak/socket_address.h: In member function 'void rak::socket_address::copy_sockaddr(const sockaddr*)': ../rak/socket_address.h:396:14: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of type 'class rak::socket_address' with 'private' member 'rak::socket_address::' from an array of 'const struct sockaddr'; use assignment or copy-initialization instead [-Wclass-memaccess] 396 | std::memcpy(this, src, socket_address::cast_from(src)->length()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/socket_address.h:66:7: note: 'class rak::socket_address' declared here 66 | class socket_address { | ^~~~~~~~~~~~~~ In file included from core/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++/14.2.0/string:49, from /usr/include/c++/14.2.0/bits/locale_classes.h:40, from /usr/include/c++/14.2.0/bits/ios_base.h:41, from /usr/include/c++/14.2.0/ios:44, from /usr/include/c++/14.2.0/istream:40, from /usr/include/c++/14.2.0/fstream:40, from core/download_list.cc:40: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from display/window.h:41, from display/window_statusbar.h:42, from display/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++/14.2.0/bits/refwrap.h:39, from /usr/include/c++/14.2.0/deque:67, from /usr/include/torrent/rate.h:40, from display/window_statusbar.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:41, from core/view_manager.cc:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./globals.h:41, from ./display/window.h:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' depbase=`echo ui/element_log_complete.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT ui/element_log_complete.o -MD -MP -MF $depbase.Tpo -c -o ui/element_log_complete.o ui/element_log_complete.cc &&\ mv -f $depbase.Tpo $depbase.Po In file included from ./control.h:43, from rpc/scgi_task.cc:50: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from globals.h:41, from command_ip.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435, from /usr/include/c++/14.2.0/functional:49, from /usr/include/torrent/poll.h:40, from core/curl_socket.cc:42: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from display/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 ./globals.h:41, from ./core/download.h:47, from display/window_download_list.cc:41: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from /usr/include/c++/14.2.0/string:49, from /usr/include/c++/14.2.0/stdexcept:39, from display/window_http_queue.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:41, from core/download.h:47, from command_local.cc:53: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./rpc/parse_commands.h:43, from display/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:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ./globals.h:41, from display/window.h:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ./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++/14.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from display/canvas.cc:42: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/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++/14.2.0/string:49, from /usr/include/c++/14.2.0/bits/locale_classes.h:40, from /usr/include/c++/14.2.0/bits/ios_base.h:41, from /usr/include/c++/14.2.0/ios:44, from /usr/include/c++/14.2.0/istream:40, from /usr/include/c++/14.2.0/fstream:40, from rpc/parse_commands.cc:40: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./globals.h:41, from core/download.h:47, from command_tracker.cc:46: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ core/curl_stack.cc: In member function 'bool core::CurlStack::process_done_handle()': core/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++/14.2.0/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ In file included from rpc/command.h:238, 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:42: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ core/curl_stack.cc: In member function 'void core::CurlStack::transfer_done(void*, const char*)': core/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++/14.2.0/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ core/curl_stack.cc: In member function 'void core::CurlStack::remove_get(core::CurlGet*)': core/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++/14.2.0/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ 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++/14.2.0/string:49, from /usr/include/c++/14.2.0/bitset:52, from /usr/include/torrent/utils/log.h:5, from command_dynamic.cc:40: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./thread_base.h:44, from rpc/exec_file.cc:49: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from display/window.h:41, from display/window_log.h:42, from display/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++/14.2.0/string:49, from /usr/include/torrent/torrent.h:41, from display/window_log.cc:40: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:41, from core/download.h:47, from command_network.cc:54: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ depbase=`echo ui/element_menu.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT ui/element_menu.o -MD -MP -MF $depbase.Tpo -c -o ui/element_menu.o ui/element_menu.cc &&\ mv -f $depbase.Tpo $depbase.Po In file included from ./globals.h:41, from ./core/download.h:47, from display/window_peer_list.cc:47: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:13, from command_scheduler.cc:41: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/scgi.cc:40: ../rak/socket_address.h: In member function 'void rak::socket_address::copy_sockaddr(const sockaddr*)': ../rak/socket_address.h:396:14: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of type 'class rak::socket_address' with 'private' member 'rak::socket_address::' from an array of 'const struct sockaddr'; use assignment or copy-initialization instead [-Wclass-memaccess] 396 | std::memcpy(this, src, socket_address::cast_from(src)->length()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/socket_address.h:66:7: note: 'class rak::socket_address' declared here 66 | class socket_address { | ^~~~~~~~~~~~~~ In file included from ./globals.h:41, from display/window.h:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from display/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++/14.2.0/string:49, from /usr/include/c++/14.2.0/stdexcept:39, from display/window_download_chunks_seen.cc:40: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from display/text_element.h:44, from display/window_text.h:42, from display/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:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:13, from command_file.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./globals.h:41, from ./core/download.h:47, from rpc/command.cc:39: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from display/text_element.h:44, from display/text_element_list.h:40, from display/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:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ./globals.h:41, from rpc/command_scheduler_item.h:40, from rpc/command_scheduler_item.cc:41: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./globals.h:41, from display/window.h:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ./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++/14.2.0/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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:41, from core/download.h:47, from command_logging.cc:11: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:238, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from command_groups.cc:11: 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:10: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/string:49, from /usr/include/torrent/download/resource_manager.h:40, from command_groups.cc:3: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./globals.h:41, from ./display/window.h:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from core/manager.cc:47: ../rak/regex.h: At global scope: ../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++/14.2.0/string:49, from /usr/include/c++/14.2.0/bits/locale_classes.h:40, from /usr/include/c++/14.2.0/bits/ios_base.h:41, from /usr/include/c++/14.2.0/ios:44, from /usr/include/c++/14.2.0/istream:40, from /usr/include/c++/14.2.0/fstream:40, from core/manager.cc:41: /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:13, from control.cc:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./globals.h:41, from display/window.h:44, from display/window_text.h:43: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from core/curl_get.cc:40: core/curl_get.cc: In member function 'double core::CurlGet::size_done()': core/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:2874:3: note: declared here 2874 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ core/curl_get.cc: In member function 'double core::CurlGet::size_total()': core/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:2891:3: note: declared here 2891 | CURLINFO_CONTENT_LENGTH_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./globals.h:41, from rpc/command_map.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command_scheduler.h:43, from main.cc:71: ../rak/functional_fun.h: At global scope: ../rak/functional_fun.h:69:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:77:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:13, from command_throttle.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' depbase=`echo ui/element_peer_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT ui/element_peer_list.o -MD -MP -MF $depbase.Tpo -c -o ui/element_peer_list.o ui/element_peer_list.cc &&\ mv -f $depbase.Tpo $depbase.Po In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from core/curl_get.h:45, from core/http_queue.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' core/http_queue.cc: In member function 'std::__cxx11::list::iterator core::HttpQueue::insert(const std::string&, std::iostream*)': core/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++/14.2.0/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ depbase=`echo ui/element_string_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT ui/element_string_list.o -MD -MP -MF $depbase.Tpo -c -o ui/element_string_list.o ui/element_string_list.cc &&\ mv -f $depbase.Tpo $depbase.Po In file included from display/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++/14.2.0/string:49, from /usr/include/c++/14.2.0/stdexcept:39, from display/window_peer_list.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435, from /usr/include/c++/14.2.0/string:49, from /usr/include/c++/14.2.0/bits/locale_classes.h:40, from /usr/include/c++/14.2.0/bits/ios_base.h:41, from /usr/include/c++/14.2.0/ios:44, from /usr/include/c++/14.2.0/ostream:40, from /usr/include/c++/14.2.0/iostream:41, from core/curl_get.cc:39: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./rpc/parse_commands.h:43, from core/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 core/view_manager.cc:42: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/command.h:238, 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:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435, from /usr/include/c++/14.2.0/string:49, from rpc/exec_file.cc:40: /usr/include/c++/14.2.0/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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ display/window_http_queue.cc: In member function 'void display::WindowHttpQueue::receive_erase(core::CurlGet*)': display/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))); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from rpc/command.h:238, 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 core/manager.h:10: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:1380:5: note: declared here 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from display/text_element.h:44, from display/text_element_value.h:42, from display/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:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/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++/14.2.0/string:49, from ../rak/path.h:44, from command_file.cc:40: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:41, from ./core/download.h:47, from display/window_file_list.cc:46: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ./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++/14.2.0/functional:49, from ../rak/priority_queue_default.h:40: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:238, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from rpc/parse_commands.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/parse.h:42, from rpc/parse_commands.cc:46: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./rpc/parse_commands.h:43, from display/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:57, from display/window_download_list.cc:42: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/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++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ rpc/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++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from rpc/command.h:238, 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:42: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/string:49, from /usr/include/c++/14.2.0/bits/locale_classes.h:40, from /usr/include/c++/14.2.0/bits/ios_base.h:41, from /usr/include/c++/14.2.0/ios:44, from /usr/include/c++/14.2.0/istream:40, from /usr/include/c++/14.2.0/fstream:40, from command_ip.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435, from /usr/include/c++/14.2.0/string:49, from /usr/include/c++/14.2.0/stdexcept:39, from core/poll_manager.cc:39: /usr/include/c++/14.2.0/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 rpc/scgi_task.cc:52: ../rak/functional_fun.h: At global scope: ../rak/functional_fun.h:69:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from rpc/scgi_task.cc:44: /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:77:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ 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++/14.2.0/functional:49, from /usr/include/torrent/connection_manager.h:42, from control.cc:41: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ depbase=`echo ui/element_text.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT ui/element_text.o -MD -MP -MF $depbase.Tpo -c -o ui/element_text.o ui/element_text.cc &&\ mv -f $depbase.Tpo $depbase.Po In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from globals.h:41, from globals.cc:39: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/scgi.h:41, from thread_worker.cc:50: ../rak/functional_fun.h: At global scope: ../rak/functional_fun.h:69:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/functional:49, from /usr/include/torrent/utils/thread_base.h:4, from thread_base.h:42: /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:77:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:238, from rpc/command.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/parse.h:42, from rpc/command.cc:40: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/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 control.cc:55: ../rak/functional_fun.h:69:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:77:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./rpc/parse_commands.h:43, from core/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 core/dht_manager.cc:41: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/string:49, from /usr/include/c++/14.2.0/bits/locale_classes.h:40, from /usr/include/c++/14.2.0/bits/ios_base.h:41, from /usr/include/c++/14.2.0/ios:44, from /usr/include/c++/14.2.0/istream:40, from /usr/include/c++/14.2.0/fstream:40, from core/dht_manager.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:41, from core/download.h:47, from command_download.cc:63: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' command_groups.cc: In function 'int64_t cg_get_index(const torrent::Object&)': command_groups.cc:125: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] 125 | rak::equal(arg.as_string(), std::mem_fun(&torrent::choke_group::name))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from rpc/command.h:238, 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/manager.h:10: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/command.h:238, 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:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/bits/unique_ptr.h:38, from /usr/include/c++/14.2.0/memory:78, from core/manager.h:5: /usr/include/c++/14.2.0/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++/14.2.0/bits/refwrap.h:39, from /usr/include/c++/14.2.0/vector:68, from /usr/include/torrent/data/chunk_utils.h:40, from command_logging.cc:6: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/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_insert(const std::string&)': command_groups.cc:183: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] 183 | rak::equal(arg, std::mem_fun(&torrent::choke_group::name))) != cg_list_hack.end()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ command_groups.cc: In function 'torrent::Object apply_cg_index_of(const std::string&)': command_groups.cc:198: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] 198 | std::find_if(cg_list_hack.begin(), cg_list_hack.end(), rak::equal(arg, std::mem_fun(&torrent::choke_group::name))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435, from /usr/include/c++/14.2.0/bits/refwrap.h:39, from /usr/include/c++/14.2.0/vector:68, from /usr/include/torrent/download.h:41, from ./core/download.h:40: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./globals.h:41, from ./core/download.h:47, from display/utils.cc:57: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./globals.h:41, from core/dht_manager.cc:49: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./globals.h:41, from core/download.h:47, from command_events.cc:50: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:238, 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 core/manager.h:10: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/string:49, from /usr/include/c++/14.2.0/stdexcept:39, from ../rak/socket_address.h:53: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:238, 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 core/manager.h:10, from thread_worker.cc:49: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/command.h:238, 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/manager.h:10: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ depbase=`echo ui/element_tracker_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT ui/element_tracker_list.o -MD -MP -MF $depbase.Tpo -c -o ui/element_tracker_list.o ui/element_tracker_list.cc &&\ mv -f $depbase.Tpo $depbase.Po In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ depbase=`echo ui/element_transfer_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT ui/element_transfer_list.o -MD -MP -MF $depbase.Tpo -c -o ui/element_transfer_list.o ui/element_transfer_list.cc &&\ mv -f $depbase.Tpo $depbase.Po In file included from rpc/command_scheduler.h:43, from rpc/command_scheduler.cc:46: ../rak/functional_fun.h:69:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:77:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435, from /usr/include/c++/14.2.0/string:49, from /usr/include/c++/14.2.0/bits/locale_classes.h:40, from /usr/include/c++/14.2.0/locale:41, from display/window_file_list.cc:39: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ thread_base.cc: In constructor 'ThreadBase::ThreadBase()': thread_base.cc:114:23: warning: 'new' of type 'thread_queue_hack' with extended alignment 128 [-Waligned-new=] 114 | m_threadQueue = new thread_queue_hack; | ^~~~~~~~~~~~~~~~~ In file included from rpc/command.h:238, 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)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ thread_base.cc:114:23: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter thread_base.cc:114:23: note: use '-faligned-new' to enable C++17 over-aligned new support In file included from core/manager.h:10, from command_tracker.cc:47: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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:69:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/functional:49, from command_network.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:77:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ depbase=`echo ui/root.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT ui/root.o -MD -MP -MF $depbase.Tpo -c -o ui/root.o ui/root.cc &&\ mv -f $depbase.Tpo $depbase.Po 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++/14.2.0/string:49, from /usr/include/c++/14.2.0/stdexcept:39, from ../rak/socket_address.h:53: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ui/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++/14.2.0/functional:49, from ../rak/algorithm.h:41: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:41, from ./core/download.h:47, from ui/download.cc:50: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./globals.h:41, from rpc/command_scheduler_item.h:40, from rpc/command_scheduler.cc:47: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:238, from rpc/command_map.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_map.cc:41: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ./globals.h:41, from ./core/download.h:47, from display/window_download_transfer_list.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command_map.cc:50: 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++/14.2.0/bits/refwrap.h:39, from /usr/include/c++/14.2.0/vector:68, from rpc/command_map.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435, from /usr/include/c++/14.2.0/functional:49, from /usr/include/torrent/utils/thread_base.h:4, from thread_base.h:42: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./rpc/parse_commands.h:43, from display/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:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435, from /usr/include/c++/14.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from rpc/command_scheduler_item.cc:39: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ main.cc: In function 'int main(int, char**)': main.cc:197:19: warning: 'new' of type 'Control' with extended alignment 128 [-Waligned-new=] 197 | control = new Control; | ^~~~~~~ main.cc:197:19: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter main.cc:197:19: note: use '-faligned-new' to enable C++17 over-aligned new support ./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++/14.2.0/functional:49, from ../rak/string_manip.h:44, from display/text_element_string.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ core/view_manager.cc: In member function 'rak::unordered_vector::iterator core::ViewManager::find(const std::string&)': core/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++/14.2.0/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ core/view_manager.cc: In member function 'rak::unordered_vector::iterator core::ViewManager::find_throw(const std::string&)': core/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++/14.2.0/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./rpc/parse_commands.h:43, from core/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:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:13, from command_peer.cc:49: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:238, 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 core/manager.h:10, from command_network.cc:55: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ depbase=`echo utils/directory.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT utils/directory.o -MD -MP -MF $depbase.Tpo -c -o utils/directory.o utils/directory.cc &&\ mv -f $depbase.Tpo $depbase.Po rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ main.cc:234:38: warning: 'new' of type 'ThreadWorker' with extended alignment 128 [-Waligned-new=] 234 | worker_thread = new ThreadWorker(); | ^ main.cc:234:38: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter main.cc:234:38: note: use '-faligned-new' to enable C++17 over-aligned new support In file included from ./globals.h:41, from display/window_download_statusbar.cc:47: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./control.h:43, from rpc/scgi.cc:49: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' depbase=`echo utils/file_status_cache.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT utils/file_status_cache.o -MD -MP -MF $depbase.Tpo -c -o utils/file_status_cache.o utils/file_status_cache.cc &&\ mv -f $depbase.Tpo $depbase.Po In file included from ./control.h:43, from core/download.cc:52: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./globals.h:41, from ./core/download.h:47, from display/window_tracker_list.cc:46: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435, from /usr/include/c++/14.2.0/functional:49, from ../rak/priority_queue_default.h:40: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./rpc/parse_commands.h:43, from core/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:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ depbase=`echo utils/lockfile.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT utils/lockfile.o -MD -MP -MF $depbase.Tpo -c -o utils/lockfile.o utils/lockfile.cc &&\ mv -f $depbase.Tpo $depbase.Po 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++/14.2.0/bits/stl_function.h:1368:5: note: declared here 1368 | 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++/14.2.0/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ ./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 ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./globals.h:41, from core/download.h:47, from core/download_store.cc:57: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from display/window.h:41, from display/window_download_statusbar.h:40, from display/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++/14.2.0/bits/refwrap.h:39, from /usr/include/c++/14.2.0/deque:67, from /usr/include/torrent/rate.h:40, from display/window_download_statusbar.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ depbase=`echo utils/socket_fd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT utils/socket_fd.o -MD -MP -MF $depbase.Tpo -c -o utils/socket_fd.o utils/socket_fd.cc &&\ mv -f $depbase.Tpo $depbase.Po ../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++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./rpc/parse_commands.h:43, from core/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 core/download_list.cc:49: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435, from /usr/include/c++/14.2.0/string:49, from /usr/include/c++/14.2.0/stdexcept:39, from display/window_download_transfer_list.cc:40: /usr/include/c++/14.2.0/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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:238, 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 core/manager.h:10: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/string:49, from ../rak/path.h:44, from command_peer.cc:40: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ core/download_store.cc: In member function 'utils::Directory core::DownloadStore::get_formated_entries()': core/download_store.cc:210: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] 210 | d.erase(std::remove_if(d.begin(), d.end(), std::ptr_fun(¬_correct_format)), d.end()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/string:49, from /usr/include/c++/14.2.0/bits/locale_classes.h:40, from /usr/include/c++/14.2.0/bits/ios_base.h:41, from /usr/include/c++/14.2.0/ios:44, from /usr/include/c++/14.2.0/istream:40, from /usr/include/c++/14.2.0/fstream:40, from core/download_store.cc:41: /usr/include/c++/14.2.0/bits/stl_function.h:1123:5: note: declared here 1123 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ In file included from ./control.h:43, from core/download_list.cc:56: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:238, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from rpc/command_scheduler.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/command_scheduler_item.h:44: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./rpc/parse_commands.h:43, from display/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 ./core/manager.h:10, from display/utils.cc:58: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ./rpc/command_map.h: At global scope: ./rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/string:49, from /usr/include/c++/14.2.0/bits/locale_classes.h:40, from /usr/include/c++/14.2.0/bits/ios_base.h:41, from /usr/include/c++/14.2.0/ios:44, from /usr/include/c++/14.2.0/istream:40, from /usr/include/c++/14.2.0/sstream:40, from display/utils.cc:41: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./rpc/parse_commands.h:43, from core/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 core/manager.cc:51: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ command_network.cc: In function 'torrent::Object apply_scgi(const std::string&, int)': command_network.cc:152:30: warning: 'new' of type 'rpc::SCgi' with extended alignment 128 [-Waligned-new=] 152 | rpc::SCgi* scgi = new rpc::SCgi; | ^~~~ command_network.cc:152:30: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter command_network.cc:152:30: note: use '-faligned-new' to enable C++17 over-aligned new support In file included from ui/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++/14.2.0/string:49, from /usr/include/c++/14.2.0/bits/locale_classes.h:40, from /usr/include/c++/14.2.0/bits/ios_base.h:41, from /usr/include/c++/14.2.0/ios:44, from /usr/include/c++/14.2.0/istream:40, from /usr/include/c++/14.2.0/sstream:40, from ui/download_list.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from rpc/command.h:238, 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 core/manager.h:10, from command_local.cc:56: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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 { | ^~~~~~~~~~~~~~~ rpc/command_scheduler.cc: In member function 'std::vector::iterator rpc::CommandScheduler::find(const std::string&)': rpc/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))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/functional:49, from command_local.cc:40: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ 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:69:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | class function_base1 : public std::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++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /usr/include/c++/14.2.0/functional:49, from command_events.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:77:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./display/manager.h:41, from ui/element_log_complete.cc:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:238, 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 core/manager.h:10, from command_download.cc:65: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./display/manager.h:41, from ui/element_file_list.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./rpc/parse_commands.h:43, from core/download_factory.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 core/download_factory.cc:48: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/scgi.h:41, from command_local.cc:59: ../rak/functional_fun.h:69:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:77:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from rpc/command.h:238, 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/manager.h:10, from command_events.cc:52: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./display/text_element.h:44, from ./display/text_element_string.h:44, from ui/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 ./core/manager.h:10, from ui/download.cc:51: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/string:49, from /usr/include/c++/14.2.0/bits/locale_classes.h:40, from /usr/include/c++/14.2.0/bits/ios_base.h:41, from /usr/include/c++/14.2.0/ios:44, from /usr/include/c++/14.2.0/istream:40, from /usr/include/c++/14.2.0/fstream:40, from core/download_factory.cc:40: /usr/include/c++/14.2.0/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++/14.2.0/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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:41, from core/manager.cc:64: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ display/utils.cc: In function 'char* display::print_download_status(char*, char*, core::Download*)': display/utils.cc:202: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] 202 | std::mem_fun(&torrent::Tracker::is_busy_not_scrape)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ rpc/parse.cc: In function 'std::string rpc::convert_list_to_command(torrent::Object::list_const_iterator, torrent::Object::list_const_iterator)': rpc/parse.cc:341:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 341 | convert_list_to_command(torrent::Object::list_const_iterator first, | ^~~~~~~~~~~~~~~~~~~~~~~ rpc/parse.cc:341:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 In file included from ./control.h:43, from core/view.cc:48: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' 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++/14.2.0/bits/stl_pair.h:882: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++/14.2.0/bits/stl_pair.h:1137:72, inlined from 'rpc::parse_command_type rpc::parse_command(target_type, const char*, const char*)' at rpc/parse_commands.cc:137:51: /usr/include/torrent/object.h:356:32: warning: '.torrent::Object::.torrent::Object::::t_pod' may be used uninitialized [-Wmaybe-uninitialized] 356 | case TYPE_VALUE: t_pod = b.t_pod; break; | ~~~~~~^~~~~~~~~ rpc/parse_commands.cc: In function 'rpc::parse_command_type rpc::parse_command(target_type, const char*, const char*)': rpc/parse_commands.cc:137:43: note: '' declared here 137 | return std::make_pair(torrent::Object(), first); | ^ rpc/parse.cc: In function 'std::string rpc::convert_list_to_string(torrent::Object::list_const_iterator, torrent::Object::list_const_iterator)': rpc/parse.cc:306:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 306 | convert_list_to_string(torrent::Object::list_const_iterator first, | ^~~~~~~~~~~~~~~~~~~~~~ rpc/parse.cc:306:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 In file included from rpc/scgi.h:41, from rpc/scgi.cc:51: ../rak/functional_fun.h: At global scope: ../rak/functional_fun.h:69:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/string:49, from /usr/include/c++/14.2.0/stdexcept:39, from ../rak/socket_address.h:53: /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:77:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ rpc/parse.cc: In function 'std::string rpc::convert_list_to_string(const torrent::Object&)': rpc/parse.cc:302:75: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 302 | return convert_list_to_string(src.as_list().begin(), src.as_list().end()); | ^ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/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_log_complete.h:42, from ui/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++/14.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from ui/element_log_complete.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./display/text_element.h:44, from ./display/text_element_string.h:44, from ui/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:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from core/curl_get.h:45, from core/download_factory.cc:56: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ui/download.cc: In destructor 'virtual ui::Download::~Download()': ui/download.cc:101:5: warning: 'throw' will always call 'terminate' [-Wterminate] 101 | throw torrent::internal_error("ui::Download::~Download() called on an active object."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/download.cc:101:5: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/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_tracker_list.h:40, from ui/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++/14.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from ui/element_tracker_list.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./control.h:43, from ui/element_string_list.cc:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/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++/14.2.0/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from ./globals.h:41, from ./display/window.h:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from utils/socket_fd.cc:49: ../rak/socket_address.h: In member function 'void rak::socket_address::copy_sockaddr(const sockaddr*)': ../rak/socket_address.h:396:14: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of type 'class rak::socket_address' with 'private' member 'rak::socket_address::' from an array of 'const struct sockaddr'; use assignment or copy-initialization instead [-Wclass-memaccess] 396 | std::memcpy(this, src, socket_address::cast_from(src)->length()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/socket_address.h:66:7: note: 'class rak::socket_address' declared here 66 | class socket_address { | ^~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./display/manager.h:41, from ui/element_peer_list.cc:46: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' core/download_list.cc: In member function 'void core::DownloadList::clear()': core/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++/14.2.0/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ core/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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ core/download_list.cc: In member function 'void core::DownloadList::session_save()': core/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++/14.2.0/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ core/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++/14.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ core/download_list.cc: In member function 'std::__cxx11::list::iterator core::DownloadList::find(const torrent::HashString&)': core/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++/14.2.0/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ core/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++/14.2.0/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ core/download_list.cc: In member function 'std::__cxx11::list::iterator core::DownloadList::find_hex(const char*)': core/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++/14.2.0/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ core/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++/14.2.0/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./display/text_element.h:44, from ./display/window_text.h:42, from ui/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:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from ui/element_menu.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./globals.h:41, from ./core/download.h:47, from display/window_download_chunks_seen.cc:48: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' core/download_list.cc: In member function 'std::__cxx11::list::iterator core::DownloadList::insert(core::Download*)': core/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++/14.2.0/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ core/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++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ core/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++/14.2.0/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ core/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++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from rpc/command.h:238, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from rpc/scgi.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:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ./display/window.h:41, from ./display/window_string_list.h:43, from ui/element_string_list.h:48, from ui/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++/14.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from ui/element_string_list.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ core/download_list.cc: In member function 'std::__cxx11::list::iterator core::DownloadList::erase(std::__cxx11::list::iterator)': core/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++/14.2.0/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ ../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++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ core/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++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../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++/14.2.0/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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/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_download_transfer_list.h:43, from ui/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++/14.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from ui/element_transfer_list.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./globals.h:41, from ./display/window.h:44, from ./display/window_text.h:43: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../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++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ command_download.cc: In function 'torrent::Object d_list_push_back_unique(core::Download*, const torrent::Object&, const char*, const char*)': command_download.cc:597:45: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const torrent::Object&; _Arg2 = const torrent::Object&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 597 | rak::bind1st(std::ptr_fun(&torrent::object_equal), args)) == list.end()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:1150:5: note: declared here 1150 | 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++/14.2.0/bits/stl_function.h:1150:5: note: declared here 1150 | 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++/14.2.0/bits/stl_function.h:1150:5: note: declared here 1150 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from ./globals.h:41, from ./core/download.h:47, from ui/element_download_list.cc:43: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' rpc/scgi.cc: In member function 'virtual void rpc::SCgi::event_read()': rpc/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++/14.2.0/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ In file included from rpc/command.h:238, from rpc/object_storage.h:49, from rpc/object_storage.cc:39: 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/object_storage.h:46: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ core/view.cc: At global scope: core/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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ core/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++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ core/view.cc: In member function 'void core::View::initialize(const std::string&)': core/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++/14.2.0/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ In file included from ./globals.h:41, from ./display/window.h:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:238, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from rpc/xmlrpc.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/xmlrpc.cc:46: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/functional:49, from ../rak/string_manip.h:44, from rpc/xmlrpc.cc:45: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from command_ui.cc:44: ../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/string:49, from /usr/include/c++/14.2.0/bitset:52, from /usr/include/c++/14.2.0/regex:40, from command_ui.cc:42: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ core/manager.cc: In member function 'void core::Manager::shutdown(bool)': core/manager.cc:207: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] 207 | std::for_each(m_downloadList->begin(), m_downloadList->end(), std::bind1st(std::mem_fun(&DownloadList::pause_default), m_downloadList)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ core/manager.cc:207: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] 207 | 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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ core/manager.cc:209: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] 209 | std::for_each(m_downloadList->begin(), m_downloadList->end(), std::bind1st(std::mem_fun(&DownloadList::close_quick), m_downloadList)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ core/manager.cc:209: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] 209 | std::for_each(m_downloadList->begin(), m_downloadList->end(), std::bind1st(std::mem_fun(&DownloadList::close_quick), m_downloadList)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ core/download_factory.cc: In member function 'void core::DownloadFactory::receive_success()': core/download_factory.cc:325: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] 325 | rak::bind2nd(std::ptr_fun(&rpc::parse_command_multiple_std), rpc::make_target(download))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:1150:5: note: declared here 1150 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from rpc/parse_commands.h:43, from rpc/object_storage.cc:43: 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++/14.2.0/bits/hashtable.h:37, from /usr/include/c++/14.2.0/bits/unordered_map.h:33, from /usr/include/c++/14.2.0/unordered_map:41, from rpc/object_storage.h:45: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ display/window_download_chunks_seen.cc: In member function 'virtual void display::WindowDownloadChunksSeen::redraw()': display/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++/14.2.0/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ display/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++/14.2.0/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ core/manager.cc: In function 'void core::path_expand(std::vector >*, const std::string&)': core/manager.cc:448: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] 448 | 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++/14.2.0/bits/stl_function.h:1150:5: note: declared here 1150 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ display/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++/14.2.0/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ core/view.cc: In member function 'void core::View::insert_visible(core::Download*)': core/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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ core/manager.cc:455: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] 455 | std::transform(currentCache.begin(), currentCache.end(), std::back_inserter(*paths), std::mem_fun_ref(&utils::Directory::path)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:1380:5: note: declared here 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ In file included from command_ui.cc:46: ../rak/functional_fun.h:69:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 69 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:77:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ core/manager.cc: In member function 'void core::Manager::receive_hashing_changed()': core/manager.cc:489: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] 489 | std::mem_fun(&Download::is_hash_checking)) != m_hashingView->end_visible(); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./display/text_element.h:44, from ./display/text_element_string.h:44, from ui/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:50:25: note: 'class torrent::Object' declared here 50 | 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 ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./rpc/parse_commands.h:43, from ui/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 /usr/include/c++/14.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from ui/element_peer_list.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ui/element_download_list.cc:40: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from ui/element_download_list.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./display/text_element.h:44, from ./display/window_text.h:42, from ui/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:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ./rpc/command_map.h: At global scope: ./rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/string:49, from /usr/include/torrent/exceptions.h:47, from ui/element_text.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./globals.h:41, from ./display/window.h:44, from ./display/window_text.h:43: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ui/element_peer_list.cc: In constructor 'ui::ElementPeerList::ElementPeerList(core::Download*)': ui/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++/14.2.0/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ In file included from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:13, from command_ui.cc:49: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./globals.h:41, from ./core/download.h:47, from ui/download_list.cc:47: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from rpc/command.h:238, 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/manager.h:10: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./core/curl_stack.h:43, from ./core/poll_manager.h:40, from ./core/manager.h:13, from ui/root.cc:48: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./display/window.h:41, from ./display/window_http_queue.h:42, from ui/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++/14.2.0/string:49, from /usr/include/c++/14.2.0/bits/locale_classes.h:40, from /usr/include/c++/14.2.0/bits/ios_base.h:41, from /usr/include/c++/14.2.0/ios:44, from /usr/include/c++/14.2.0/istream:40, from /usr/include/c++/14.2.0/fstream:40, from ui/root.cc:39: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./rpc/parse_commands.h:43, from ui/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 ./core/manager.h:10: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./rpc/command.h:238, from ./rpc/command_map.h:45, from ./rpc/parse_commands.h:43, from ui/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/manager.h:10, from ui/download_list.cc:49: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | 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++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ui/root.cc: In member function 'void ui::Root::load_input_history()': ui/root.cc:416:23: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const unsigned int'} [-Wsign-compare] 416 | if (delim_pos != std::string::npos) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ui/download_list.cc: In destructor 'virtual ui::DownloadList::~DownloadList()': ui/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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/download_list.cc:87:5: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from /usr/include/c++/14.2.0/vector:65, from /usr/include/torrent/object.h:43: /usr/include/c++/14.2.0/bits/stl_uninitialized.h: In function '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]': /usr/include/c++/14.2.0/bits/stl_uninitialized.h:163:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 163 | uninitialized_copy(_InputIterator __first, _InputIterator __last, | ^~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_uninitialized.h:163:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]', inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/14.2.0/bits/stl_vector.h:606:31, inlined from 'torrent::Object::Object(const torrent::Object&)' at /usr/include/torrent/object.h:358:60: /usr/include/c++/14.2.0/bits/stl_uninitialized.h:373:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 373 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/vector:72, from /usr/include/c++/14.2.0/bits/random.h:34, from /usr/include/c++/14.2.0/random:48, from ../rak/string_manip.h:47, from command_events.cc:44: /usr/include/c++/14.2.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/14.2.0/bits/vector.tcc:452:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 452 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_insert_rval(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/14.2.0/bits/vector.tcc:363:5: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 363 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/vector.tcc:379:26: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 379 | _M_realloc_insert(begin() + __n, std::move(__v)); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/vector:66: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'torrent::Object d_multicall(const torrent::Object::list_type&)' at command_events.cc:299:52: /usr/include/c++/14.2.0/bits/stl_vector.h:1396:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 1396 | { return _M_insert_rval(__position, std::move(__x)); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'torrent::Object d_multicall_filtered(const torrent::Object::list_type&)' at command_events.cc:334:52: /usr/include/c++/14.2.0/bits/stl_vector.h:1396:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 1396 | { return _M_insert_rval(__position, std::move(__x)); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]', inlined from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/14.2.0/bits/stl_vector.h:1697:33, inlined from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/14.2.0/bits/stl_vector.h:711:23, inlined from 'static torrent::Object torrent::Object::create_list_range(ForwardIterator, ForwardIterator) [with ForwardIterator = __gnu_cxx::__normal_iterator >]' at /usr/include/torrent/object.h:447:40, inlined from 'const torrent::Object& rpc::object_storage::set_list(const torrent::raw_string&, const torrent::Object::list_type&)' at rpc/object_storage.cc:177:65: /usr/include/c++/14.2.0/bits/stl_uninitialized.h:373:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 373 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ command_throttle.cc: In function 'std::pair parse_address_range(const torrent::Object::list_type&, std::vector::const_iterator)': command_throttle.cc:55:1: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 55 | parse_address_range(const torrent::Object::list_type& args, torrent::Object::list_type::const_iterator itr) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/algorithm:60, from command_dynamic.cc:39: /usr/include/c++/14.2.0/bits/stl_algobase.h: In function '_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator >; _OI = __gnu_cxx::__normal_iterator >]': /usr/include/c++/14.2.0/bits/stl_algobase.h:642:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 642 | copy(_II __first, _II __last, _OI __result) | ^~~~ /usr/include/c++/14.2.0/bits/stl_algobase.h:642:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /usr/include/c++/14.2.0/bits/stl_algobase.h:642:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 command_dynamic.cc: In function 'std::string system_method_generate_command(torrent::Object::list_const_iterator, torrent::Object::list_const_iterator)': command_dynamic.cc:73:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 73 | system_method_generate_command(torrent::Object::list_const_iterator first, torrent::Object::list_const_iterator last) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command_dynamic.cc:73:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 command_dynamic.cc: In function 'torrent::Object system_method_set_key(const torrent::Object::list_type&)': command_dynamic.cc:398:94: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 398 | control->object_storage()->set_str_multi_key(key, cmd_key, system_method_generate_command(itrArgs, args.end())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/vector:65, from /usr/include/torrent/utils/log.h:8: /usr/include/c++/14.2.0/bits/stl_uninitialized.h: In function '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]': /usr/include/c++/14.2.0/bits/stl_uninitialized.h:163:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 163 | uninitialized_copy(_InputIterator __first, _InputIterator __last, | ^~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_uninitialized.h:163:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]', inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/14.2.0/bits/stl_vector.h:606:31: /usr/include/c++/14.2.0/bits/stl_uninitialized.h:373:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 373 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ command_dynamic.cc: In function 'torrent::Object system_method_set_function(const torrent::Object::list_type&)': command_dynamic.cc:366:84: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 366 | system_method_generate_command(++args.begin(), args.end())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ command_dynamic.cc: In function 'void system_method_generate_command2(torrent::Object*, torrent::Object::list_const_iterator, torrent::Object::list_const_iterator)': command_dynamic.cc:87:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 87 | system_method_generate_command2(torrent::Object* object, torrent::Object::list_const_iterator first, torrent::Object::list_const_iterator last) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command_dynamic.cc:87:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 command_dynamic.cc: In function 'torrent::Object system_method_insert_object(const torrent::Object::list_type&, int)': command_dynamic.cc:164:36: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 164 | system_method_generate_command2(&value, itrArgs, args.end()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]', inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/14.2.0/bits/stl_vector.h:1624:35, inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/14.2.0/bits/vector.tcc:238:44, inlined from 'torrent::Object system_method_insert_object(const torrent::Object::list_type&, int)' at command_dynamic.cc:187:42: /usr/include/c++/14.2.0/bits/stl_uninitialized.h:373:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 373 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/vector:72: In member function 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'torrent::Object system_method_insert_object(const torrent::Object::list_type&, int)' at command_dynamic.cc:187:42: /usr/include/c++/14.2.0/bits/vector.tcc:250:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 250 | std::_Destroy(std::copy(__x.begin(), __x.end(), begin()), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 251 | end(), _M_get_Tp_allocator()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command_dynamic.cc: In function 'torrent::Object system_method_insert(const torrent::Object::list_type&)': command_dynamic.cc:304:54: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 304 | new_args.push_back(system_method_generate_command(++itrArgs, args.end())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]', inlined from 'void std::vector<_Tp, _Alloc>::_M_range_insert(iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/14.2.0/bits/vector.tcc:984:34, inlined from 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, _InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/14.2.0/bits/stl_vector.h:1488:19, inlined from 'torrent::Object system_method_insert(const torrent::Object::list_type&)' at command_dynamic.cc:311:22: /usr/include/c++/14.2.0/bits/stl_uninitialized.h:373:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 373 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void std::vector<_Tp, _Alloc>::_M_range_insert(iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, _InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/14.2.0/bits/stl_vector.h:1488:19, inlined from 'torrent::Object system_method_insert(const torrent::Object::list_type&)' at command_dynamic.cc:311:22: /usr/include/c++/14.2.0/bits/vector.tcc:995:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 995 | std::copy(__first, __mid, __position); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]', inlined from 'void std::vector<_Tp, _Alloc>::_M_range_insert(iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/14.2.0/bits/vector.tcc:1022:38, inlined from 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, _InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/14.2.0/bits/stl_vector.h:1488:19, inlined from 'torrent::Object system_method_insert(const torrent::Object::list_type&)' at command_dynamic.cc:311:22: /usr/include/c++/14.2.0/bits/stl_uninitialized.h:373:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 373 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ command_local.cc: In function 'void file_print_list(torrent::Object::list_const_iterator, torrent::Object::list_const_iterator, FILE*, int)': command_local.cc:191:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 191 | file_print_list(torrent::Object::list_const_iterator first, torrent::Object::list_const_iterator last, FILE* output, int flags) { | ^~~~~~~~~~~~~~~ command_local.cc:191:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 command_local.cc:201:22: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 201 | file_print_list(first->as_list().begin(), first->as_list().end(), output, 0); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command_local.cc: In function 'torrent::Object cmd_file_append(const torrent::Object::list_type&)': command_local.cc:224:18: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 224 | file_print_list(++args.begin(), args.end(), output, file_print_delim_space); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/bits/stl_algo.h:61, from /usr/include/c++/14.2.0/regex:52: /usr/include/c++/14.2.0/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = long long int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/14.2.0/bits/stl_heap.h:224:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, | ^~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/vector:65, from /usr/include/c++/14.2.0/bits/random.h:34, from /usr/include/c++/14.2.0/random:48, from ../rak/string_manip.h:47, from command_download.cc:46: /usr/include/c++/14.2.0/bits/stl_uninitialized.h: In function '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]': /usr/include/c++/14.2.0/bits/stl_uninitialized.h:163:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 163 | uninitialized_copy(_InputIterator __first, _InputIterator __last, | ^~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_uninitialized.h:163:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]', inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/14.2.0/bits/stl_vector.h:606:31, inlined from 'torrent::Object::Object(const torrent::Object&)' at /usr/include/torrent/object.h:358:60: /usr/include/c++/14.2.0/bits/stl_uninitialized.h:373:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 373 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/bits/stl_algobase.h:71, from /usr/include/c++/14.2.0/string:51, from ../rak/file_stat.h:40, from command_download.cc:42: /usr/include/c++/14.2.0/bits/predefined_ops.h: In member function 'bool __gnu_cxx::__ops::_Iter_pred<_Predicate>::operator()(_Iterator) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = rak::bind1st_t >]': /usr/include/c++/14.2.0/bits/predefined_ops.h:317:9: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 317 | operator()(_Iterator __it) | ^~~~~~~~ /usr/include/c++/14.2.0/bits/stl_algobase.h: In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]': /usr/include/c++/14.2.0/bits/stl_algobase.h:2140:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2140 | __find_if(_Iterator __first, _Iterator __last, _Predicate __pred) | ^~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_algobase.h:2140:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In function '_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]', inlined from '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]' at /usr/include/c++/14.2.0/bits/stl_algobase.h:2142:23: /usr/include/c++/14.2.0/bits/stl_algobase.h:2097:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2097 | if (__pred(__first)) | ~~~~~~^~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_algobase.h:2101:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2101 | if (__pred(__first)) | ~~~~~~^~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_algobase.h:2105:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2105 | if (__pred(__first)) | ~~~~~~^~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_algobase.h:2109:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2109 | if (__pred(__first)) | ~~~~~~^~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_algobase.h:2117:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2117 | if (__pred(__first)) | ~~~~~~^~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_algobase.h:2122:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2122 | if (__pred(__first)) | ~~~~~~^~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_algobase.h:2127:21: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2127 | if (__pred(__first)) | ~~~~~~^~~~~~~~~ In function '_ForwardIterator std::__remove_if(_ForwardIterator, _ForwardIterator, _Predicate) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]', inlined from '_FIter std::remove_if(_FIter, _FIter, _Predicate) [with _FIter = __gnu_cxx::__normal_iterator >; _Predicate = rak::bind1st_t >]' at /usr/include/c++/14.2.0/bits/stl_algo.h:832:30, inlined from 'torrent::Object d_list_remove(core::Download*, const torrent::Object&, const char*, const char*)' at command_download.cc:617:28: /usr/include/c++/14.2.0/bits/stl_algobase.h:2164:31: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2164 | __first = std::__find_if(__first, __last, __pred); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/stl_algobase.h:2170:20: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2170 | if (!__pred(__first)) | ~~~~~~^~~~~~~~~ In file included from /usr/include/c++/14.2.0/algorithm:61, from ../rak/string_manip.h:40: /usr/include/c++/14.2.0/bits/stl_algo.h: In function '_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = __gnu_cxx::__normal_iterator >; _Predicate = rak::bind1st_t >]': /usr/include/c++/14.2.0/bits/stl_algo.h:3866:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 3866 | find_if(_InputIterator __first, _InputIterator __last, | ^~~~~~~ /usr/include/c++/14.2.0/bits/stl_algo.h:3866:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /usr/include/c++/14.2.0/bits/stl_algo.h:3875:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 3875 | return std::__find_if(__first, __last, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 3876 | __gnu_cxx::__ops::__pred_iter(__pred)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command_download.cc: In function 'torrent::Object d_list_has(core::Download*, const torrent::Object&, const char*, const char*)': command_download.cc:608:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 608 | return (int64_t)(std::find_if(list.begin(), list.end(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 609 | rak::bind1st(std::ptr_fun(&torrent::object_equal), args)) != list.end()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]', inlined from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/14.2.0/bits/stl_vector.h:1697:33, inlined from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/14.2.0/bits/stl_vector.h:711:23, inlined from 'static torrent::Object torrent::Object::create_list_range(ForwardIterator, ForwardIterator) [with ForwardIterator = __gnu_cxx::__normal_iterator >]' at /usr/include/torrent/object.h:447:40, inlined from 'torrent::Object p_call_target(const torrent::Object::list_type&)' at command_download.cc:507:84: /usr/include/c++/14.2.0/bits/stl_uninitialized.h:373:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 373 | return std::uninitialized_copy(__first, __last, __result); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/vector:72: /usr/include/c++/14.2.0/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/14.2.0/bits/vector.tcc:452:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 452 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_insert_rval(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/14.2.0/bits/vector.tcc:363:5: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 363 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.2.0/bits/vector.tcc:379:26: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 379 | _M_realloc_insert(begin() + __n, std::move(__v)); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/vector:66: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'torrent::Object t_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:434:52: /usr/include/c++/14.2.0/bits/stl_vector.h:1396:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 1396 | { return _M_insert_rval(__position, std::move(__x)); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'torrent::Object p_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:462:52: /usr/include/c++/14.2.0/bits/stl_vector.h:1396:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 1396 | { return _M_insert_rval(__position, std::move(__x)); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'torrent::Object f_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:409:52: /usr/include/c++/14.2.0/bits/stl_vector.h:1396:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 1396 | { return _M_insert_rval(__position, std::move(__x)); } | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ command_download.cc: In function 'torrent::Object d_list_push_back_unique(core::Download*, const torrent::Object&, const char*, const char*)': command_download.cc:596:19: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 596 | if (std::find_if(list.begin(), list.end(), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 597 | rak::bind1st(std::ptr_fun(&torrent::object_equal), args)) == list.end()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f libsub_root.a ar cr libsub_root.a core/curl_get.o core/curl_socket.o core/curl_stack.o core/dht_manager.o core/download.o core/download_factory.o core/download_list.o core/download_store.o core/http_queue.o core/manager.o core/poll_manager.o core/view.o core/view_manager.o display/canvas.o display/frame.o display/manager.o display/utils.o display/text_element_list.o display/text_element_string.o display/text_element_value.o display/window.o display/window_download_chunks_seen.o display/window_download_list.o display/window_download_statusbar.o display/window_download_transfer_list.o display/window_file_list.o display/window_http_queue.o display/window_input.o display/window_log.o display/window_log_complete.o display/window_peer_list.o display/window_statusbar.o display/window_string_list.o display/window_text.o display/window_title.o display/window_tracker_list.o input/bindings.o input/input_event.o input/manager.o input/path_input.o input/text_input.o rpc/command.o rpc/command_map.o rpc/command_scheduler.o rpc/command_scheduler_item.o rpc/exec_file.o rpc/object_storage.o rpc/parse.o rpc/parse_commands.o rpc/parse_options.o rpc/scgi.o rpc/scgi_task.o rpc/xmlrpc.o ui/download.o ui/download_list.o ui/element_base.o ui/element_chunks_seen.o ui/element_download_list.o ui/element_file_list.o ui/element_log_complete.o ui/element_menu.o ui/element_peer_list.o ui/element_string_list.o ui/element_text.o ui/element_tracker_list.o ui/element_transfer_list.o ui/root.o utils/directory.o utils/file_status_cache.o utils/lockfile.o utils/socket_fd.o command_download.o command_dynamic.o command_events.o command_file.o command_ip.o command_helpers.o command_groups.o command_local.o command_logging.o command_network.o command_peer.o command_throttle.o command_tracker.o command_scheduler.o command_ui.o control.o globals.o option_parser.o signal_handler.o thread_base.o thread_worker.o ranlib libsub_root.a g++ -std=c++14 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -Wl,--as-needed,-O1,--sort-common -o rtorrent main.o libsub_root.a -lpthread -lpthread -lncursesw -lcppunit -lcurl -ltorrent -L/usr/lib -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lpthread make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/src' Making all in test make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/test' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/test' make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0' make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0' make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0' Making check in doc make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/doc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/doc' Making check in src make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/src' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/src' Making check in test make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/test' make rtorrentTest make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/test' g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rtorrentTest-main.o -MD -MP -MF .deps/rtorrentTest-main.Tpo -c -o rtorrentTest-main.o `test -f 'main.cc' || echo './'`main.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/rtorrentTest-command_test.o -MD -MP -MF rpc/.deps/rtorrentTest-command_test.Tpo -c -o rpc/rtorrentTest-command_test.o `test -f 'rpc/command_test.cc' || echo './'`rpc/command_test.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/rtorrentTest-command_map_test.o -MD -MP -MF rpc/.deps/rtorrentTest-command_map_test.Tpo -c -o rpc/rtorrentTest-command_map_test.o `test -f 'rpc/command_map_test.cc' || echo './'`rpc/command_map_test.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/rtorrentTest-command_slot_test.o -MD -MP -MF rpc/.deps/rtorrentTest-command_slot_test.Tpo -c -o rpc/rtorrentTest-command_slot_test.o `test -f 'rpc/command_slot_test.cc' || echo './'`rpc/command_slot_test.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/rtorrentTest-object_storage_test.o -MD -MP -MF rpc/.deps/rtorrentTest-object_storage_test.Tpo -c -o rpc/rtorrentTest-object_storage_test.o `test -f 'rpc/object_storage_test.cc' || echo './'`rpc/object_storage_test.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT rpc/rtorrentTest-test_parse_options.o -MD -MP -MF rpc/.deps/rtorrentTest-test_parse_options.Tpo -c -o rpc/rtorrentTest-test_parse_options.o `test -f 'rpc/test_parse_options.cc' || echo './'`rpc/test_parse_options.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -MT src/rtorrentTest-command_dynamic_test.o -MD -MP -MF src/.deps/rtorrentTest-command_dynamic_test.Tpo -c -o src/rtorrentTest-command_dynamic_test.o `test -f 'src/command_dynamic_test.cc' || echo './'`src/command_dynamic_test.cc mv -f .deps/rtorrentTest-main.Tpo .deps/rtorrentTest-main.Po In file included from ../src/rpc/command.h:238, from ../src/command_helpers.h:40, from rpc/command_map_test.cc:3: ../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ../src/rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/rpc/command.h:42: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ../src/rpc/parse_commands.h:43, from ../src/command_helpers.h:41: ../src/rpc/command_map.h: At global scope: ../src/rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/functional:49, from ../src/rpc/command.h:40: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/rpc/command.h:238, from ../src/rpc/command_map.h:45, from rpc/command_slot_test.cc:5: ../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ../src/rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command_slot_test.cc:4: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ../src/rpc/command_map.h: At global scope: ../src/rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/string:49, from /usr/include/c++/14.2.0/bits/locale_classes.h:40, from /usr/include/c++/14.2.0/bits/ios_base.h:41, from /usr/include/c++/14.2.0/ios:44, from /usr/include/c++/14.2.0/istream:40, from /usr/include/c++/14.2.0/sstream:40, from rpc/command_slot_test.cc:3: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/rpc/command.h:238, from rpc/command_test.h:3, from rpc/command_test.cc:3: ../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ../src/rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/rpc/command.h:42: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_test.cc: In function 'bool command_stack_all_empty()': rpc/command_test.cc:10:39: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Object]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 10 | std::mem_fun_ref(&torrent::Object::is_not_empty)) == rpc::command_base::stack_end(); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/bits/refwrap.h:39, from /usr/include/c++/14.2.0/deque:67, from /usr/include/cppunit/Message.h:11, from /usr/include/cppunit/Exception.h:5, from /usr/include/cppunit/TestCaller.h:4, from /usr/include/cppunit/extensions/HelperMacros.h:9, from rpc/command_test.h:1: /usr/include/c++/14.2.0/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ In file included from ../src/rpc/command.h:238, from ../src/rpc/object_storage.h:49, from rpc/object_storage_test.h:3, from rpc/object_storage_test.cc:3: ../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ../src/rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/rpc/object_storage.h:46: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ../src/rpc/command.h:238, from ../src/rpc/command_map.h:45, from ../src/rpc/parse_commands.h:43, from src/command_dynamic_test.cc:9: ../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ../src/rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/rpc/command_map.h:43: /usr/include/torrent/object.h:50:25: note: 'class torrent::Object' declared here 50 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ../src/rpc/command_map.h: At global scope: ../src/rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.0/string:49, from /usr/include/c++/14.2.0/bits/locale_classes.h:40, from /usr/include/c++/14.2.0/bits/ios_base.h:41, from /usr/include/c++/14.2.0/ios:44, from /usr/include/c++/14.2.0/ostream:40, from /usr/include/c++/14.2.0/iostream:41, from src/command_dynamic_test.cc:3: /usr/include/c++/14.2.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/control.h:43, from src/command_dynamic_test.cc:10: ../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' src/command_dynamic_test.cc: In member function 'virtual void CommandDynamicTest::setUp()': src/command_dynamic_test.cc:23:19: warning: 'new' of type 'Control' with extended alignment 128 [-Waligned-new=] 23 | control = new Control; | ^~~~~~~ src/command_dynamic_test.cc:23:19: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter src/command_dynamic_test.cc:23:19: note: use '-faligned-new' to enable C++17 over-aligned new support In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../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++/14.2.0/bits/stl_function.h:1435: /usr/include/c++/14.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f rpc/.deps/rtorrentTest-command_slot_test.Tpo rpc/.deps/rtorrentTest-command_slot_test.Po mv -f rpc/.deps/rtorrentTest-command_test.Tpo rpc/.deps/rtorrentTest-command_test.Po mv -f rpc/.deps/rtorrentTest-command_map_test.Tpo rpc/.deps/rtorrentTest-command_map_test.Po mv -f rpc/.deps/rtorrentTest-object_storage_test.Tpo rpc/.deps/rtorrentTest-object_storage_test.Po mv -f src/.deps/rtorrentTest-command_dynamic_test.Tpo src/.deps/rtorrentTest-command_dynamic_test.Po mv -f rpc/.deps/rtorrentTest-test_parse_options.Tpo rpc/.deps/rtorrentTest-test_parse_options.Po g++ -std=c++14 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -DNDEBUG -Wall -I/usr/include -pthread -DNCURSES_WIDECHAR -lcppunit -ldl -Wl,--as-needed,-O1,--sort-common -o rtorrentTest rpc/rtorrentTest-command_test.o rpc/rtorrentTest-command_map_test.o rpc/rtorrentTest-command_slot_test.o rpc/rtorrentTest-object_storage_test.o rpc/rtorrentTest-test_parse_options.o src/rtorrentTest-command_dynamic_test.o rtorrentTest-main.o ../src/libsub_root.a -lpthread -lncursesw -lcppunit -lcurl -ltorrent -L/usr/lib -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lpthread make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/test' make check-TESTS make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/test' make[3]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/test' PASS: rtorrentTest ============================================================================ Testsuite summary for rtorrent 0.10.0 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/test' make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/test' make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/test' make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0' make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0' >>> rtorrent: Entering fakeroot... Making install in doc make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/doc' make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/doc' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/doc' make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/doc' Making install in src make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/src' make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/src' make[2]: Nothing to be done for 'install-data-am'. /bin/mkdir -p '/home/buildozer/aports/community/rtorrent/pkg/rtorrent/usr/bin' /usr/bin/install -c rtorrent '/home/buildozer/aports/community/rtorrent/pkg/rtorrent/usr/bin' make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/src' make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/src' Making install in test make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/test' make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/test' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/test' make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0/test' make[1]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0' make[2]: Entering directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0' make[1]: Leaving directory '/home/buildozer/aports/community/rtorrent/src/rtorrent-0.10.0' >>> rtorrent-doc*: Running split function doc... 'usr/share/doc' -> '/home/buildozer/aports/community/rtorrent/pkg/rtorrent-doc/usr/share/doc' >>> rtorrent-doc*: Preparing subpackage rtorrent-doc... >>> rtorrent-doc*: Running postcheck for rtorrent-doc >>> rtorrent*: Running postcheck for rtorrent >>> rtorrent*: Preparing package rtorrent... >>> rtorrent*: Stripping binaries libfakeroot internal error: payload not recognized! >>> rtorrent-doc*: Scanning shared objects >>> rtorrent*: Scanning shared objects >>> rtorrent-doc*: Tracing dependencies... >>> rtorrent-doc*: Package size: 4.3 KB >>> rtorrent-doc*: Compressing data... >>> rtorrent-doc*: Create checksum... libfakeroot internal error: payload not recognized! >>> rtorrent-doc*: Create rtorrent-doc-0.10.0-r0.apk >>> rtorrent*: Tracing dependencies... so:libc.musl-armv7.so.1 so:libcurl.so.4 so:libgcc_s.so.1 so:libncursesw.so.6 so:libstdc++.so.6 so:libtorrent.so.22 so:libxmlrpc.so.3 so:libxmlrpc_server.so.3 so:libxmlrpc_util.so.4 >>> rtorrent*: Package size: 753.9 KB >>> rtorrent*: Compressing data... >>> rtorrent*: Create checksum... >>> rtorrent*: Create rtorrent-0.10.0-r0.apk >>> rtorrent: Build complete at Tue, 19 Nov 2024 15:11:36 +0000 elapsed time 0h 0m 30s >>> rtorrent: Cleaning up srcdir >>> rtorrent: Cleaning up pkgdir >>> rtorrent: Uninstalling dependencies... (1/46) Purging .makedepends-rtorrent (20241119.151107) (2/46) Purging autoconf (2.72-r0) (3/46) Purging m4 (1.4.19-r3) (4/46) Purging automake (1.17-r0) (5/46) Purging curl-dev (8.11.0-r2) (6/46) Purging libsigc++3-dev (3.6.0-r0) (7/46) Purging libsigc++3 (3.6.0-r0) (8/46) Purging libtool (2.4.7-r3) (9/46) Purging libltdl (2.4.7-r3) (10/46) Purging libtorrent-dev (0.14.0-r0) (11/46) Purging libtorrent (0.14.0-r0) (12/46) Purging ncurses-dev (6.5_p20241006-r3) (13/46) Purging libncurses++ (6.5_p20241006-r3) (14/46) Purging libpanelw (6.5_p20241006-r3) (15/46) Purging xmlrpc-c-dev (1.51.08-r4) (16/46) Purging libxml2-dev (2.13.4-r3) (17/46) Purging libxml2-utils (2.13.4-r3) (18/46) Purging libxml2 (2.13.4-r3) (19/46) Purging xmlrpc-c-client++ (1.51.08-r4) (20/46) Purging xmlrpc-c-client (1.51.08-r4) (21/46) Purging cppunit-dev (1.15.1-r4) (22/46) Purging cppunit (1.15.1-r4) (23/46) Purging brotli-dev (1.1.0-r2) (24/46) Purging brotli (1.1.0-r2) (25/46) Purging c-ares-dev (1.34.3-r0) (26/46) Purging git-perl (2.47.0-r0) (27/46) Purging perl-git (2.47.0-r0) (28/46) Purging perl-error (0.17029-r2) (29/46) Purging perl (5.40.0-r3) (30/46) Purging libbz2 (1.0.8-r6) (31/46) Purging libformw (6.5_p20241006-r3) (32/46) Purging libmenuw (6.5_p20241006-r3) (33/46) Purging libpsl-dev (0.21.5-r3) (34/46) Purging libpsl-utils (0.21.5-r3) (35/46) Purging nghttp2-dev (1.64.0-r0) (36/46) Purging openssl-dev (3.3.2-r4) (37/46) Purging xmlrpc-c++ (1.51.08-r4) (38/46) Purging xmlrpc-c-abyss (1.51.08-r4) (39/46) Purging xz-dev (5.6.3-r0) (40/46) Purging xz (5.6.3-r0) (41/46) Purging xz-libs (5.6.3-r0) (42/46) Purging zlib-dev (1.3.1-r2) (43/46) Purging zstd-dev (1.5.6-r1) (44/46) Purging zstd (1.5.6-r1) (45/46) Purging libidn2-dev (2.3.7-r0) (46/46) Purging xmlrpc-c (1.51.08-r4) Executing busybox-1.37.0-r7.trigger OK: 274 MiB in 101 packages >>> rtorrent: Updating the community/armv7 repository index... >>> rtorrent: Signing the index...