Applying /builder/shared-workdir/build/sdk/feeds/packages/net/rtorrent/patches/120-fix-ncurses.patch using plaintext: patching file src/display/canvas.h Applying /builder/shared-workdir/build/sdk/feeds/packages/net/rtorrent/patches/130-usleep.patch using plaintext: patching file src/thread_base.cc autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/share/aclocal -I m4 -I . --force -I scripts autoreconf: configure.ac: tracing autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/libtoolize --install --force OpenWrt-libtoolize: putting auxiliary files in '.'. OpenWrt-libtoolize: linking file './config.guess' OpenWrt-libtoolize: linking file './config.sub' OpenWrt-libtoolize: linking file './install-sh' OpenWrt-libtoolize: linking file './ltmain.sh' OpenWrt-libtoolize: putting macros in 'scripts'. OpenWrt-libtoolize: linking file 'scripts/libtool.m4' OpenWrt-libtoolize: linking file 'scripts/ltoptions.m4' OpenWrt-libtoolize: linking file 'scripts/ltsugar.m4' OpenWrt-libtoolize: linking file 'scripts/ltversion.m4' OpenWrt-libtoolize: linking file 'scripts/lt~obsolete.m4' OpenWrt-libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([scripts])' to configure.ac, OpenWrt-libtoolize: and rerunning libtoolize and aclocal. OpenWrt-libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/share/aclocal -I m4 -I . --force -I scripts autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force configure.ac:10: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:10: You should run autoupdate. aclocal.m4:2159: AC_PROG_LIBTOOL is expanded from... configure.ac:10: the top level configure.ac:14: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:14: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/rak_compiler.m4:27: RAK_ENABLE_DEBUG is expanded from... configure.ac:14: the top level configure.ac:15: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:15: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/rak_compiler.m4:55: RAK_ENABLE_EXTRA_DEBUG is expanded from... configure.ac:15: the top level configure.ac:16: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:16: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/rak_compiler.m4:42: RAK_ENABLE_WERROR is expanded from... configure.ac:16: the top level configure.ac:18: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:18: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/rak_cxx.m4:1: RAK_CHECK_CXX11 is expanded from... configure.ac:18: the top level configure.ac:18: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:18: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... scripts/ax_cxx_compile_stdcxx_0x.m4:26: AX_CXX_COMPILE_STDCXX_0X is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... scripts/rak_cxx.m4:1: RAK_CHECK_CXX11 is expanded from... configure.ac:18: the top level configure.ac:18: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:18: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... scripts/ax_cxx_compile_stdcxx_0x.m4:26: AX_CXX_COMPILE_STDCXX_0X is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... scripts/rak_cxx.m4:1: RAK_CHECK_CXX11 is expanded from... configure.ac:18: the top level configure.ac:21: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:21: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/common.m4:234: TORRENT_DISABLE_IPV6 is expanded from... configure.ac:21: the top level configure.ac:27: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:27: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/common.m4:23: TORRENT_ENABLE_ARCH is expanded from... configure.ac:27: the top level configure.ac:28: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:28: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/common.m4:1: TORRENT_WITH_SYSROOT is expanded from... configure.ac:28: the top level configure.ac:30: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:30: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/checks.m4:161: TORRENT_WITHOUT_VARIABLE_FDSET is expanded from... configure.ac:30: the top level configure.ac:31: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:31: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/checks.m4:299: TORRENT_WITHOUT_STATVFS is expanded from... configure.ac:31: the top level configure.ac:31: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:31: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... scripts/checks.m4:215: TORRENT_CHECK_STATVFS is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... scripts/checks.m4:299: TORRENT_WITHOUT_STATVFS is expanded from... configure.ac:31: the top level configure.ac:31: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:31: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... scripts/checks.m4:215: TORRENT_CHECK_STATVFS is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... scripts/checks.m4:299: TORRENT_WITHOUT_STATVFS is expanded from... configure.ac:31: the top level configure.ac:32: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:32: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/checks.m4:314: TORRENT_WITHOUT_STATFS is expanded from... configure.ac:32: the top level configure.ac:32: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:32: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... scripts/checks.m4:252: TORRENT_CHECK_STATFS is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... scripts/checks.m4:314: TORRENT_WITHOUT_STATFS is expanded from... configure.ac:32: the top level configure.ac:32: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:32: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... scripts/checks.m4:252: TORRENT_CHECK_STATFS is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... scripts/checks.m4:314: TORRENT_WITHOUT_STATFS is expanded from... configure.ac:32: the top level configure.ac:46: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:46: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... scripts/checks.m4:404: TORRENT_WITH_XMLRPC_C is expanded from... configure.ac:46: the top level configure.ac:46: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:46: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... scripts/checks.m4:404: TORRENT_WITH_XMLRPC_C is expanded from... configure.ac:46: the top level configure.ac:67: warning: AC_OUTPUT should be used without arguments. configure.ac:67: You should run autoupdate. autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoheader --include=/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/automake --add-missing --force-missing configure.ac:10: installing './compile' configure.ac:5: installing './missing' src/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' autoreconf: Leaving directory '.' configure: WARNING: unrecognized options: --disable-nls configure: loading site script /builder/shared-workdir/build/sdk/include/site/i386 checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c checking whether build environment is sane... yes checking for i486-openwrt-linux-strip... i486-openwrt-linux-musl-strip checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for i486-openwrt-linux-ranlib... i486-openwrt-linux-musl-gcc-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... yes checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether i486-openwrt-linux-musl-g++ accepts -g... yes checking for i486-openwrt-linux-musl-g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of i486-openwrt-linux-musl-g++... none checking build system type... x86_64-pc-linux-gnu checking host system type... i486-openwrt-linux-gnu checking how to print strings... printf checking for i486-openwrt-linux-gcc... i486-openwrt-linux-musl-gcc checking whether the compiler supports GNU C... yes checking whether i486-openwrt-linux-musl-gcc accepts -g... yes checking for i486-openwrt-linux-musl-gcc option to enable C11 features... none needed checking whether i486-openwrt-linux-musl-gcc understands -c and -o together... yes checking dependency style of i486-openwrt-linux-musl-gcc... none checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E checking for fgrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -F checking for ld used by i486-openwrt-linux-musl-gcc... i486-openwrt-linux-musl-ld.bfd checking if the linker (i486-openwrt-linux-musl-ld.bfd) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... i486-openwrt-linux-musl-gcc-nm checking the name lister (i486-openwrt-linux-musl-gcc-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to i486-openwrt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for i486-openwrt-linux-musl-ld.bfd option to reload object files... -r checking for i486-openwrt-linux-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet checking for i486-openwrt-linux-objdump... i486-openwrt-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for i486-openwrt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i486-openwrt-linux-ar... i486-openwrt-linux-musl-gcc-ar checking for archiver @FILE support... @ checking for i486-openwrt-linux-strip... (cached) i486-openwrt-linux-musl-strip checking for i486-openwrt-linux-ranlib... (cached) i486-openwrt-linux-musl-gcc-ranlib checking command to parse i486-openwrt-linux-musl-gcc-nm output from i486-openwrt-linux-musl-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i486-openwrt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i486-openwrt-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for i486-openwrt-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if i486-openwrt-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if i486-openwrt-linux-musl-gcc static flag -static works... yes checking if i486-openwrt-linux-musl-gcc supports -c -o file.o... yes checking if i486-openwrt-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the i486-openwrt-linux-musl-gcc linker (i486-openwrt-linux-musl-ld.bfd) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking how to run the C++ preprocessor... i486-openwrt-linux-musl-g++ -E checking for ld used by i486-openwrt-linux-musl-g++... i486-openwrt-linux-musl-ld.bfd checking if the linker (i486-openwrt-linux-musl-ld.bfd) is GNU ld... yes checking whether the i486-openwrt-linux-musl-g++ linker (i486-openwrt-linux-musl-ld.bfd) supports shared libraries... yes checking for i486-openwrt-linux-musl-g++ option to produce PIC... -fPIC -DPIC checking if i486-openwrt-linux-musl-g++ PIC flag -fPIC -DPIC works... yes checking if i486-openwrt-linux-musl-g++ static flag -static works... yes checking if i486-openwrt-linux-musl-g++ supports -c -o file.o... yes checking if i486-openwrt-linux-musl-g++ supports -c -o file.o... (cached) yes checking whether the i486-openwrt-linux-musl-g++ linker (i486-openwrt-linux-musl-ld.bfd) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for user-defined CFLAGS... user-defined "-Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " checking for user-defined CXXFLAGS... user-defined "-Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new " checking whether i486-openwrt-linux-musl-g++ supports C++11 features by default... yes checking should use TR1 headers... no checking for i486-openwrt-linux-musl-gcc option to enable large file support... none needed checking for execinfo.h... no checking for sysroot... no checking for sys/vfs.h... yes checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for statvfs... ok checking how to run the C preprocessor... i486-openwrt-linux-musl-gcc -E checking whether i486-openwrt-linux-musl-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 pkg-config is at least version 0.9.0... yes checking for ncursesw via pkg-config... yes checking for working ncursesw/curses.h... yes checking for working ncursesw.h... no checking for working ncurses.h... yes checking for libcurl... yes checking for cppunit... no checking for libtorrent >= 0.13.8... yes checking for XMLRPC-C... ignored checking for posix_memalign... yes checking for cacheline... using default 128 bytes checking for __builtin_popcount... yes checking if compiler supports __attribute__((unused))... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating src/core/Makefile config.status: creating src/display/Makefile config.status: creating src/input/Makefile config.status: creating src/rpc/Makefile config.status: creating src/ui/Makefile config.status: creating src/utils/Makefile config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-nls make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8' make all-recursive make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8' Making all in doc make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/doc' make[6]: Nothing to be done for 'all'. make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/doc' Making all in src make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src' Making all in core make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/core' i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o curl_get.o curl_get.cc In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from curl_get.cc:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/locale_classes.h:40, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/ios_base.h:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ios:42, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ostream:38, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/iostream:39, from curl_get.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from curl_get.cc:40: curl_get.cc: In member function 'double core::CurlGet::size_done()': curl_get.cc:136:31: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] 136 | curl_easy_getinfo(m_handle, CURLINFO_SIZE_DOWNLOAD, &d); | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/curl/curl.h:2857:3: note: declared here 2857 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ curl_get.cc: In member function 'double core::CurlGet::size_total()': curl_get.cc:144:31: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] 144 | curl_easy_getinfo(m_handle, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &d); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/curl/curl.h:2874:3: note: declared here 2874 | CURLINFO_CONTENT_LENGTH_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o curl_socket.o curl_socket.cc In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, from curl_socket.cc:46: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_construct.h:61, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/alloc_traits.h:33, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ext/alloc_traits.h:34, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/unordered_map:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:61, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/poll.h:40, from curl_socket.cc:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' curl_socket.cc: In destructor 'virtual core::CurlSocket::~CurlSocket()': curl_socket.cc:95:5: warning: 'throw' will always call 'terminate' [-Wterminate] 95 | throw torrent::internal_error("CurlSocket::~CurlSocket() m_fileDesc != -1."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curl_socket.cc:95:5: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o curl_stack.o curl_stack.cc In file included from curl_stack.cc:43: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/exceptions.h:47, from curl_stack.cc:41: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from curl_get.h:45, from curl_stack.cc:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/algorithm:60, from curl_stack.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' curl_stack.cc: In member function 'bool core::CurlStack::process_done_handle()': curl_stack.cc:136:90: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void*; _Tp = core::CurlGet]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 136 | iterator itr = std::find_if(begin(), end(), rak::equal(msg->easy_handle, std::mem_fun(&CurlGet::handle))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1371:5: note: declared here 1371 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ curl_stack.cc: In member function 'void core::CurlStack::transfer_done(void*, const char*)': curl_stack.cc:158:78: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void*; _Tp = core::CurlGet]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 158 | iterator itr = std::find_if(begin(), end(), rak::equal(handle, std::mem_fun(&CurlGet::handle))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1371:5: note: declared here 1371 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ curl_stack.cc: In member function 'void core::CurlStack::remove_get(core::CurlGet*)': curl_stack.cc:238:65: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = core::CurlGet]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 238 | (itr = std::find_if(begin(), end(), std::not1(std::mem_fun(&CurlGet::is_active)))) != end()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ curl_stack.cc:238:52: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = const_mem_fun_t]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] 238 | (itr = std::find_if(begin(), end(), std::not1(std::mem_fun(&CurlGet::is_active)))) != end()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o dht_manager.o dht_manager.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o download.o download.cc In file included from download.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from ../../rak/file_stat.h:40, from download.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from dht_manager.cc:47: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from dht_manager.cc:41: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from 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: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/locale_classes.h:40, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/ios_base.h:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ios:42, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/istream:38, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/fstream:38, from dht_manager.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from dht_manager.cc:49: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, from download.cc:52: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/list:60, from download.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o download_factory.o download_factory.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o download_list.o download_list.cc In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from download_factory.cc:53: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from download_factory.cc:47: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/locale_classes.h:40, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/ios_base.h:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ios:42, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/istream:38, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/fstream:38, from download_factory.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from curl_get.h:45, from download_factory.cc:55: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from download_list.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/locale_classes.h:40, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/ios_base.h:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ios:42, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/istream:38, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/fstream:38, from download_list.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ download_factory.cc: In member function 'void core::DownloadFactory::receive_success()': download_factory.cc:319:44: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const __cxx11::basic_string&; _Arg2 = rpc::rt_triple; _Result = torrent::Object]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 319 | rak::bind2nd(std::ptr_fun(&rpc::parse_command_multiple_std), rpc::make_target(download))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from download_list.cc:54: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from download_list.cc:49: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, from download_list.cc:56: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/algorithm:60, from download_list.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' download_list.cc: In member function 'void core::DownloadList::clear()': download_list.cc:83:58: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::DownloadList; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 83 | std::for_each(begin(), end(), std::bind1st(std::mem_fun(&DownloadList::close), this)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ download_list.cc:83:45: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = core::DownloadList*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 83 | std::for_each(begin(), end(), std::bind1st(std::mem_fun(&DownloadList::close), this)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ download_list.cc: In member function 'void core::DownloadList::session_save()': download_list.cc:91:75: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = bool; _Tp = core::DownloadStore; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 91 | unsigned int c = std::count_if(begin(), end(), std::bind1st(std::mem_fun(&DownloadStore::save_resume), control->core()->download_store())); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ download_list.cc:91:62: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = core::DownloadStore*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 91 | unsigned int c = std::count_if(begin(), end(), std::bind1st(std::mem_fun(&DownloadStore::save_resume), control->core()->download_store())); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ download_list.cc: In member function 'std::__cxx11::list::iterator core::DownloadList::find(const torrent::HashString&)': download_list.cc:102:76: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const torrent::DownloadInfo*; _Tp = core::Download]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 102 | return std::find_if(begin(), end(), rak::equal(hash, rak::on(std::mem_fun(&Download::info), std::mem_fun(&torrent::DownloadInfo::hash)))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ download_list.cc:102:107: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const torrent::HashString&; _Tp = torrent::DownloadInfo]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 102 | return std::find_if(begin(), end(), rak::equal(hash, rak::on(std::mem_fun(&Download::info), std::mem_fun(&torrent::DownloadInfo::hash)))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ download_list.cc: In member function 'std::__cxx11::list::iterator core::DownloadList::find_hex(const char*)': download_list.cc:112:75: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const torrent::DownloadInfo*; _Tp = core::Download]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 112 | return std::find_if(begin(), end(), rak::equal(key, rak::on(std::mem_fun(&Download::info), std::mem_fun(&torrent::DownloadInfo::hash)))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ download_list.cc:112:106: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const torrent::HashString&; _Tp = torrent::DownloadInfo]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 112 | return std::find_if(begin(), end(), rak::equal(key, rak::on(std::mem_fun(&Download::info), std::mem_fun(&torrent::DownloadInfo::hash)))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ download_list.cc: In member function 'std::__cxx11::list::iterator core::DownloadList::insert(core::Download*)': download_list.cc:190:110: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::View; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 190 | std::for_each(control->view_manager()->begin(), control->view_manager()->end(), std::bind2nd(std::mem_fun(&View::insert), download)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ download_list.cc:190:97: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = core::Download*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 190 | std::for_each(control->view_manager()->begin(), control->view_manager()->end(), std::bind2nd(std::mem_fun(&View::insert), download)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ download_list.cc:191:110: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::View; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 191 | std::for_each(control->view_manager()->begin(), control->view_manager()->end(), std::bind2nd(std::mem_fun(&View::filter_download), download)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ download_list.cc:191:97: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = core::Download*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 191 | std::for_each(control->view_manager()->begin(), control->view_manager()->end(), std::bind2nd(std::mem_fun(&View::filter_download), download)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ download_list.cc: In member function 'std::__cxx11::list::iterator core::DownloadList::erase(std::__cxx11::list::iterator)': download_list.cc:224:108: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::View; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 224 | std::for_each(control->view_manager()->begin(), control->view_manager()->end(), std::bind2nd(std::mem_fun(&View::erase), *itr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ download_list.cc:224:95: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = core::Download*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 224 | std::for_each(control->view_manager()->begin(), control->view_manager()->end(), std::bind2nd(std::mem_fun(&View::erase), *itr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o download_store.o download_store.cc In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from download.h:47, from download_store.cc:56: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/locale_classes.h:40, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/ios_base.h:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ios:42, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/istream:38, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/fstream:38, from download_store.cc:41: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' download_store.cc: In member function 'utils::Directory core::DownloadStore::get_formated_entries()': download_store.cc:199:58: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = const utils::directory_entry&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 199 | d.erase(std::remove_if(d.begin(), d.end(), std::ptr_fun(¬_correct_format)), d.end()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1126:5: note: declared here 1126 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o http_queue.o http_queue.cc In file included from http_queue.cc:43: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/unique_ptr.h:37, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/memory:75, from http_queue.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from curl_get.h:45, from http_queue.cc:45: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_construct.h:61, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/memory:64: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' http_queue.cc: In member function 'std::__cxx11::list::iterator core::HttpQueue::insert(const std::string&, std::iostream*)': http_queue.cc:51:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 51 | std::auto_ptr h(m_slot_factory()); | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/unique_ptr.h:64:28: note: declared here 64 | template class auto_ptr; | ^~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o manager.o manager.cc In file included from manager.cc:47: ../../rak/regex.h:53:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 53 | class regex : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/locale_classes.h:40, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/ios_base.h:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ios:42, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/istream:38, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/fstream:38, from manager.cc:41: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from manager.cc:60: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from manager.cc:51: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from manager.cc:64: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' manager.cc: In member function 'void core::Manager::shutdown(bool)': manager.cc:178:92: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::DownloadList; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 178 | std::for_each(m_downloadList->begin(), m_downloadList->end(), std::bind1st(std::mem_fun(&DownloadList::pause_default), m_downloadList)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ manager.cc:178:79: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = core::DownloadList*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 178 | std::for_each(m_downloadList->begin(), m_downloadList->end(), std::bind1st(std::mem_fun(&DownloadList::pause_default), m_downloadList)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ manager.cc:180:92: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::DownloadList; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 180 | std::for_each(m_downloadList->begin(), m_downloadList->end(), std::bind1st(std::mem_fun(&DownloadList::close_quick), m_downloadList)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ manager.cc:180:79: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = core::DownloadList*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 180 | std::for_each(m_downloadList->begin(), m_downloadList->end(), std::bind1st(std::mem_fun(&DownloadList::close_quick), m_downloadList)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ manager.cc: In function 'void core::path_expand(std::vector >*, const std::string&)': manager.cc:417:123: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = rak::regex]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] 417 | itr->erase(std::remove_if(itr->begin(), itr->end(), rak::on(rak::mem_ref(&utils::directory_entry::d_name), std::not1(r))), itr->end()); | ~~~~~~~~~^~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ manager.cc:419:104: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = __cxx11::basic_string; _Arg2 = const utils::directory_entry&; _Result = utils::Directory]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 419 | std::transform(itr->begin(), itr->end(), std::back_inserter(nextCache), rak::bind1st(std::ptr_fun(&path_expand_transform), itr->path() + (itr->path() == "/" ? "" : "/"))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ manager.cc:426:104: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = const __cxx11::basic_string&; _Tp = utils::Directory]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 426 | std::transform(currentCache.begin(), currentCache.end(), std::back_inserter(*paths), std::mem_fun_ref(&utils::Directory::path)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1383:5: note: declared here 1383 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ manager.cc: In member function 'void core::Manager::receive_hashing_changed()': manager.cc:460:48: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = core::Download]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 460 | std::mem_fun(&Download::is_hash_checking)) != m_hashingView->end_visible(); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o poll_manager.o poll_manager.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o view.o view.cc In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from poll_manager.cc:46: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/stdexcept:39, from poll_manager.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from view.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from view.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from view.cc:42: ../../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from view.cc:46: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* 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: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, from view.cc:48: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/algorithm:60, from view.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' view.cc: At global scope: view.cc:57:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 57 | struct view_downloads_compare : std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ view.cc:91:37: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 91 | struct view_downloads_filter : std::unary_function { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ view.cc: In member function 'void core::View::initialize(const std::string&)': view.cc:179:72: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::View; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 179 | std::for_each(dlist->begin(), dlist->end(), rak::bind1st(std::mem_fun(&View::push_back), this)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ view.cc: In member function 'void core::View::insert_visible(core::Download*)': view.cc:361:75: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = core::view_downloads_compare; _Tp = core::Download*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 361 | iterator itr = std::find_if(begin_visible(), end_visible(), std::bind1st(view_downloads_compare(m_sortNew), d)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o view_manager.o view_manager.cc In file included from view_manager.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from ../../rak/functional.h:41: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from view_manager.cc:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/algorithm:60, from view_manager.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from view_manager.cc:46: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from view_manager.cc:42: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ view_manager.cc: In member function 'rak::unordered_vector::iterator core::ViewManager::find(const std::string&)': view_manager.cc:79:68: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = core::View]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 79 | return std::find_if(begin(), end(), rak::equal(name, std::mem_fun(&View::name))); | ~~~~~~~~~~~~^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ view_manager.cc: In member function 'rak::unordered_vector::iterator core::ViewManager::find_throw(const std::string&)': view_manager.cc:84:76: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = core::View]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 84 | iterator itr = std::find_if(begin(), end(), rak::equal(name, std::mem_fun(&View::name))); | ~~~~~~~~~~~~^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ rm -f libsub_core.a i486-openwrt-linux-musl-gcc-ar cru libsub_core.a curl_get.o curl_socket.o curl_stack.o dht_manager.o download.o download_factory.o download_list.o download_store.o http_queue.o manager.o poll_manager.o view.o view_manager.o /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/bin/ar: `u' modifier ignored since `D' is the default (see `U') i486-openwrt-linux-musl-gcc-ranlib libsub_core.a make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/core' Making all in display make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/display' i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o canvas.o canvas.cc In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from canvas.cc:44: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* 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: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/exceptions.h:47, from canvas.cc:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o frame.o frame.cc In file included from frame.cc:42: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from frame.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from window.h:41, from frame.cc:46: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/algorithm:60, from frame.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o manager.o manager.cc In file included from manager.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/stdexcept:39, from manager.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from manager.cc:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o utils.o utils.cc In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, from utils.cc:57: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/locale_classes.h:40, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/ios_base.h:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ios:42, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/istream:38, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/sstream:38, from utils.cc:41: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from utils.cc:59: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ utils.cc: In function 'char* display::print_download_status(char*, char*, core::Download*)': utils.cc:201:32: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 201 | std::mem_fun(&torrent::Tracker::is_busy_not_scrape)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o text_element_list.o text_element_list.cc In file included from text_element_list.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from ../../rak/functional.h:41: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o text_element_string.o text_element_string.cc In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from text_element.h:44, from text_element_list.h:40, from text_element_list.cc:43: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o text_element_value.o text_element_value.cc In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from text_element_value.cc:41: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_construct.h:61, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/alloc_traits.h:33, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ext/alloc_traits.h:34, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/unordered_map:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:61, from ../../rak/priority_queue_default.h:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from 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: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from ../../rak/string_manip.h:44, from text_element_string.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from text_element.h:44, from text_element_value.h:43, from text_element_value.cc:42: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o window.o window.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o window_download_chunks_seen.o window_download_chunks_seen.cc In file included from window.h:41, from window.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/stdexcept:39, from window.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from window_download_chunks_seen.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/stdexcept:39, from window_download_chunks_seen.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o window_download_list.o window_download_list.cc In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, from window_download_chunks_seen.cc:48: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/specfun.h:45, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/cmath:1935, from window_download_chunks_seen.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from window_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 /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from ../../rak/algorithm.h:41: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ window_download_chunks_seen.cc: In member function 'virtual void display::WindowDownloadChunksSeen::redraw()': window_download_chunks_seen.cc:98:82: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::BlockList]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 98 | std::sort(transferChunks.begin(), transferChunks.end(), rak::less2(std::mem_fun(&torrent::BlockList::index), std::mem_fun(&torrent::BlockList::index))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ window_download_chunks_seen.cc:98:124: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::BlockList]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 98 | std::sort(transferChunks.begin(), transferChunks.end(), rak::less2(std::mem_fun(&torrent::BlockList::index), std::mem_fun(&torrent::BlockList::index))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ window_download_chunks_seen.cc:114:90: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 114 | if (std::find_if((*itrTransfer)->begin(), (*itrTransfer)->end(), std::mem_fun_ref(&torrent::Block::is_transfering)) != (*itrTransfer)->end()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1389:5: note: declared here 1389 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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, from ./../globals.h:41, from ./../core/download.h:47, from window_download_list.cc:41: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/algorithm:60, from ../../rak/algorithm.h:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from window_download_list.cc:43: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../core/view.h:55, from window_download_list.cc:42: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o window_download_statusbar.o window_download_statusbar.cc In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from window_download_statusbar.cc:47: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/deque:60, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/rate.h:40, from window_download_statusbar.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from window.h:41, from window_download_statusbar.h:40, from window_download_statusbar.cc:49: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/refwrap.h:39, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/deque:65: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o window_download_transfer_list.o window_download_transfer_list.cc In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, from window_download_transfer_list.cc:45: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/specfun.h:45, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/cmath:1935, from window_download_transfer_list.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/stdexcept:39, from window_download_transfer_list.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o window_file_list.o window_file_list.cc In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, from window_file_list.cc:46: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/locale_classes.h:40, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/locale:39, from window_file_list.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o window_http_queue.o window_http_queue.cc In file included from ../../rak/priority_queue_default.h:42, from ./../core/curl_get.h:45, from window_http_queue.cc:41: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/stdexcept:39, from window_http_queue.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o window_input.o window_input.cc ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from window_http_queue.cc:45: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ window_http_queue.cc: In member function 'void display::WindowHttpQueue::receive_erase(core::CurlGet*)': window_http_queue.cc:148:112: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = core::CurlGet*; _Tp = display::WindowHttpQueue::Node]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 148 | Container::iterator itr = std::find_if(m_container.begin(), m_container.end(), rak::equal(h, std::mem_fun_ref(&Node::get_http))); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1383:5: note: declared here 1383 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from window.h:41, from window_input.h:42, from window_input.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from canvas.h:40, from window_input.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o window_log.o window_log.cc ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from window.h:41, from window_log.h:42, from window_log.cc:45: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/torrent.h:41, from window_log.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/list:60, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/torrent.h:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o window_log_complete.o window_log_complete.cc In file included from window.h:41, from window_log_complete.h:42, from window_log_complete.cc:43: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from canvas.h:40, from window_log_complete.cc:41: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o window_peer_list.o window_peer_list.cc In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, from window_peer_list.cc:47: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/stdexcept:39, from window_peer_list.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from window_peer_list.cc:48: ../../rak/algorithm.h: At global scope: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o window_statusbar.o window_statusbar.cc In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, from window_statusbar.cc:42: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/deque:60, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/rate.h:40, from window_statusbar.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from window.h:41, from window_statusbar.h:42, from window_statusbar.cc:45: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/refwrap.h:39, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/deque:65: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o window_string_list.o window_string_list.cc In file included from window.h:41, from window_string_list.h:43, from window_string_list.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from canvas.h:40, from window_string_list.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o window_text.o window_text.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o window_title.o window_title.cc In file included from window_text.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from ../../rak/functional.h:41: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from text_element.h:44, from window_text.h:42, from window_text.cc:44: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* 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: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from window.h:44, from window_text.h:43: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/algorithm:60, from window_text.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from window.h:41, from window_title.h:41, from window_title.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from canvas.h:40, from window_title.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o window_tracker_list.o window_tracker_list.cc In file included from window_tracker_list.cc:39: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from ../../rak/algorithm.h:41: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, from window_tracker_list.cc:46: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/algorithm:60, from ../../rak/algorithm.h:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ rm -f libsub_display.a i486-openwrt-linux-musl-gcc-ar cru libsub_display.a canvas.o frame.o manager.o utils.o text_element_list.o text_element_string.o text_element_value.o window.o window_download_chunks_seen.o window_download_list.o window_download_statusbar.o window_download_transfer_list.o window_file_list.o window_http_queue.o window_input.o window_log.o window_log_complete.o window_peer_list.o window_statusbar.o window_string_list.o window_text.o window_title.o window_tracker_list.o /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/bin/ar: `u' modifier ignored since `D' is the default (see `U') i486-openwrt-linux-musl-gcc-ranlib libsub_display.a make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/display' Making all in input make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/input' i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o bindings.o bindings.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o input_event.o input_event.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o manager.o manager.cc manager.cc: In member function 'void input::Manager::pressed(int)': manager.cc:67:61: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = bool; _Tp = input::Bindings; _Arg = int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 67 | std::find_if(rbegin(), rend(), std::bind2nd(std::mem_fun(&Bindings::pressed), key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from manager.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ manager.cc:67:48: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 67 | std::find_if(rbegin(), rend(), std::bind2nd(std::mem_fun(&Bindings::pressed), key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o path_input.o path_input.cc In file included from path_input.cc:40: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from path_input.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from path_input.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ path_input.cc: In member function 'input::PathInput::range_type input::PathInput::find_incomplete(utils::Directory&, const std::string&)': path_input.cc:157:72: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const utils::directory_entry&; _Arg2 = const __cxx11::basic_string&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 157 | r.first = std::find_if(d.begin(), d.end(), rak::bind2nd(std::ptr_fun(&find_complete_not_compare), f)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ path_input.cc:158:72: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const utils::directory_entry&; _Arg2 = const __cxx11::basic_string&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 158 | r.second = std::find_if(r.first, d.end(), rak::bind2nd(std::ptr_fun(&find_complete_compare), f)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o text_input.o text_input.cc rm -f libsub_input.a i486-openwrt-linux-musl-gcc-ar cru libsub_input.a bindings.o input_event.o manager.o path_input.o text_input.o /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/bin/ar: `u' modifier ignored since `D' is the default (see `U') i486-openwrt-linux-musl-gcc-ranlib libsub_input.a make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/input' Making all in rpc make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/rpc' i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command.o command.cc In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, from command.cc:39: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/list:60, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/download.h:40, from ./../core/download.h:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from command.h:240, from command.cc:42: command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from parse.h:42, from command.cc:40: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/refwrap.h:39, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/vector:66, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/download.h:41: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_map.o command_map.cc In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from command_map.cc:45: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/vector:60, from command_map.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from command.h:240, from command_map.cc:49: command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from command_map.cc:41: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from command_map.cc:50: command_map.h: At global scope: command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/refwrap.h:39, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/vector:66: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_scheduler.o command_scheduler.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_scheduler_item.o command_scheduler_item.cc In file included from command_scheduler.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from ../../rak/functional.h:41: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from command_scheduler_item.h:40, from command_scheduler_item.cc:41: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/exceptions.h:47, from command_scheduler_item.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from command_scheduler.h:43, from command_scheduler.cc:46: ../../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from command_scheduler_item.h:40, from command_scheduler.cc:47: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/algorithm:60, from command_scheduler.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o exec_file.o exec_file.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o object_storage.o object_storage.cc In file included from command.h:240, from command_map.h:45, from parse_commands.h:43, from command_scheduler.cc:48: command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from command_scheduler_item.h:43: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ command_map.h: At global scope: command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ command_scheduler.cc: In member function 'std::vector::iterator rpc::CommandScheduler::find(const std::string&)': command_scheduler.cc:58:67: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = rpc::CommandSchedulerItem]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 58 | return std::find_if(begin(), end(), rak::equal(key, std::mem_fun(&CommandSchedulerItem::key))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o parse.o parse.cc In file included from ../../rak/priority_queue_default.h:42, from ./../thread_base.h:44, from exec_file.cc:49: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from exec_file.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from command.h:240, from object_storage.h:49, from object_storage.cc:39: command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from object_storage.h:46: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from parse_commands.h:43, from object_storage.cc:43: command_map.h: At global scope: command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/unordered_map:44, from object_storage.h:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o parse_commands.o parse_commands.cc In file included from parse_commands.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/locale_classes.h:40, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/ios_base.h:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ios:42, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/istream:38, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/fstream:38, from parse_commands.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o scgi.o scgi.cc In file included from command.h:240, from command_map.h:45, from parse_commands.h:43, from parse_commands.cc:47: command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from parse.h:42, from parse_commands.cc:46: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ command_map.h: At global scope: command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ parse_commands.cc:55:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 55 | struct command_map_is_space : std::unary_function { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ parse_commands.cc:61:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 61 | struct command_map_is_newline : std::unary_function { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ parse_commands.cc: In function 'rpc::parse_command_type rpc::parse_command(target_type, const char*, const char*)': parse_commands.cc:134:46: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = rpc::command_map_is_space]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] 134 | first = std::find_if(first, last, std::not1(command_map_is_space())); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ parse_commands.cc:142:46: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = rpc::command_map_is_space]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] 142 | first = std::find_if(first, last, std::not1(command_map_is_space())); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ parse_commands.cc:153:46: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = rpc::command_map_is_space]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] 153 | first = std::find_if(first, last, std::not1(command_map_is_space())); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ In copy constructor 'torrent::Object::Object(const torrent::Object&)', inlined from 'torrent::Object::Object(const torrent::Object&)' at /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:341:1, 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 /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_pair.h:535:4, inlined from 'constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = torrent::Object; _T2 = const char*&]' at /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_pair.h:746:72, inlined from 'rpc::parse_command_type rpc::parse_command(target_type, const char*, const char*)' at parse_commands.cc:137:51: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:350:32: warning: '.torrent::Object::.torrent::Object::::t_pod' may be used uninitialized [-Wmaybe-uninitialized] 350 | case TYPE_VALUE: t_pod = b.t_pod; break; | ~~~~~~^~~~~~~~~ parse_commands.cc: In function 'rpc::parse_command_type rpc::parse_command(target_type, const char*, const char*)': parse_commands.cc:137:43: note: '' declared here 137 | return std::make_pair(torrent::Object(), first); | ^ In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, from scgi.cc:49: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from ../../rak/socket_address.h:51, from scgi.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o scgi_task.o scgi_task.cc In file included from scgi.h:41, from scgi.cc:51: ../../rak/functional_fun.h: At global scope: ../../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from command.h:240, from command_map.h:45, from parse_commands.h:43, from scgi.cc:52: command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from command_map.h:43: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ command_map.h: At global scope: command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ scgi.cc: In member function 'virtual void rpc::SCgi::event_read()': scgi.cc:145:79: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = rpc::SCgiTask]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 145 | SCgiTask* task = std::find_if(m_task, m_task + max_tasks, std::mem_fun_ref(&SCgiTask::is_available)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1389:5: note: declared here 1389 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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, from ./../control.h:43, from scgi_task.cc:50: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/exceptions.h:47, from scgi_task.cc:44: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from scgi.h:41, from scgi_task.cc:52: ../../rak/functional_fun.h: At global scope: ../../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o xmlrpc.o xmlrpc.cc In file included from command.h:240, from command_map.h:45, from parse_commands.h:43, from xmlrpc.cc:50: command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from xmlrpc.cc:46: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ command_map.h: At global scope: command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from ../../rak/string_manip.h:44, from xmlrpc.cc:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ rm -f libsub_rpc.a i486-openwrt-linux-musl-gcc-ar cru libsub_rpc.a command.o command_map.o command_scheduler.o command_scheduler_item.o exec_file.o object_storage.o parse.o parse_commands.o scgi.o scgi_task.o xmlrpc.o /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/bin/ar: `u' modifier ignored since `D' is the default (see `U') i486-openwrt-linux-musl-gcc-ranlib libsub_rpc.a make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/rpc' Making all in ui make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/ui' i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o download.o download.cc In file included from download.cc:39: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from ../../rak/functional.h:41: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, from download.cc:50: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_construct.h:61, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/alloc_traits.h:33, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ext/alloc_traits.h:34, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/unordered_map:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:61: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../display/text_element.h:44, from ./../display/text_element_string.h:44, from download.cc:56: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ download.cc: In destructor 'virtual ui::Download::~Download()': download.cc:101:5: warning: 'throw' will always call 'terminate' [-Wterminate] 101 | throw torrent::internal_error("ui::Download::~Download() called on an active object."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download.cc:101:5: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o download_list.o download_list.cc In file included from download_list.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/locale_classes.h:40, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/ios_base.h:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ios:42, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/istream:38, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/sstream:38, from download_list.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, from download_list.cc:47: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from download_list.cc:60: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../core/view.h:55, from download_list.cc:50: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ download_list.cc: In destructor 'virtual ui::DownloadList::~DownloadList()': download_list.cc:87:5: warning: 'throw' will always call 'terminate' [-Wterminate] 87 | throw std::logic_error("ui::DownloadList::~DownloadList() called on an active object"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download_list.cc:87:5: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o element_base.o element_base.cc In file included from ./../display/window.h:41, from element_base.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/exceptions.h:47, from element_base.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../display/window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o element_chunks_seen.o element_chunks_seen.cc In file included from ./../display/window.h:41, from ./../display/window_download_chunks_seen.h:42, from element_chunks_seen.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/exceptions.h:47, from element_chunks_seen.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../display/window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o element_download_list.o element_download_list.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o element_file_list.o element_file_list.cc In file included from element_file_list.cc:39: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from ../../rak/algorithm.h:41: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../display/manager.h:41, from element_file_list.cc:45: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/algorithm:60, from ../../rak/algorithm.h:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, from element_download_list.cc:43: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/exceptions.h:47, from element_download_list.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../display/text_element.h:44, from ./../display/text_element_string.h:44, from element_file_list.cc:46: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from element_download_list.cc:50: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from element_download_list.cc:40: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o element_log_complete.o element_log_complete.cc In file included from ../../rak/priority_queue_default.h:42, from ./../display/manager.h:41, from element_log_complete.cc:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/exceptions.h:47, from element_log_complete.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../display/window.h:41, from ./../display/window_log_complete.h:42, from element_log_complete.cc:45: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o element_menu.o element_menu.cc In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../display/text_element.h:44, from ./../display/window_text.h:42, from element_menu.cc:42: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* 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: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/exceptions.h:47, from element_menu.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../display/window.h:44, from ./../display/window_text.h:43: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o element_peer_list.o element_peer_list.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o element_string_list.o element_string_list.cc In file included from ../../rak/priority_queue_default.h:42, from ./../display/manager.h:41, from element_peer_list.cc:46: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/exceptions.h:47, from element_peer_list.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../display/text_element.h:44, from ./../display/text_element_string.h:44, from element_peer_list.cc:47: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command_map.h:43: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, from element_string_list.cc:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/exceptions.h:47, from element_string_list.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o element_text.o element_text.cc In file included from ./../display/window.h:41, from ./../display/window_string_list.h:43, from element_string_list.h:48, from element_string_list.cc:45: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ element_peer_list.cc: In constructor 'ui::ElementPeerList::ElementPeerList(core::Download*)': element_peer_list.cc:65:77: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = __cxx11::list; _Arg = torrent::Peer* const&]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 65 | rak::bind1st(std::mem_fun(&PList::push_back), &m_list)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1395:5: note: declared here 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o element_tracker_list.o element_tracker_list.cc In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../display/text_element.h:44, from ./../display/window_text.h:42, from element_text.cc:42: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* 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: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/exceptions.h:47, from element_text.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../display/window.h:44, from ./../display/window_text.h:43: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o element_transfer_list.o element_transfer_list.cc ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 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 /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/exceptions.h:47, from element_tracker_list.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../display/window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 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 /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/exceptions.h:47, from element_transfer_list.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../display/window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o root.o root.cc In file included from ../../rak/priority_queue_default.h:42, from ./../core/curl_stack.h:43, from ./../core/poll_manager.h:40, from ./../core/manager.h:47, from root.cc:48: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/locale_classes.h:40, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/ios_base.h:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ios:42, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/istream:38, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/fstream:38, from root.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../display/window.h:41, from ./../display/window_http_queue.h:42, from root.cc:50: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, from root.cc:56: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* 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: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ root.cc: In member function 'void ui::Root::load_input_history()': root.cc:416:23: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const unsigned int'} [-Wsign-compare] 416 | if (delim_pos != std::string::npos) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ rm -f libsub_ui.a i486-openwrt-linux-musl-gcc-ar cru libsub_ui.a download.o download_list.o element_base.o element_chunks_seen.o element_download_list.o element_file_list.o element_log_complete.o element_menu.o element_peer_list.o element_string_list.o element_text.o element_tracker_list.o element_transfer_list.o root.o /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/bin/ar: `u' modifier ignored since `D' is the default (see `U') i486-openwrt-linux-musl-gcc-ranlib libsub_ui.a make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/ui' Making all in utils make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/utils' i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o directory.o directory.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o file_status_cache.o file_status_cache.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o lockfile.o lockfile.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o socket_fd.o socket_fd.cc rm -f libsub_utils.a i486-openwrt-linux-musl-gcc-ar cru libsub_utils.a directory.o file_status_cache.o lockfile.o socket_fd.o /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/bin/ar: `u' modifier ignored since `D' is the default (see `U') i486-openwrt-linux-musl-gcc-ranlib libsub_utils.a make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/utils' make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src' i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o main.o main.cc In file included from main.cc:53: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/locale_classes.h:40, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/ios_base.h:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ios:42, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ostream:38, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/iostream:39, from main.cc:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42, from core/dht_manager.h:40, from main.cc:60: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command_scheduler.h:43, from main.cc:71: ../rak/functional_fun.h: At global scope: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from main.cc:73: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* 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: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_download.o command_download.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_dynamic.o command_dynamic.cc In file included from ../rak/priority_queue_default.h:42, from globals.h:41, from command_dynamic.cc:43: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/algorithm:60, from command_dynamic.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from command_helpers.h:40, from command_dynamic.cc:45: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command.h:43: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bitset:47, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/utils/log.h:40, from command_dynamic.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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:53:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 53 | class regex : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from command_download.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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, from ./globals.h:41, from core/download.h:47, from command_download.cc:63: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_construct.h:61, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/alloc_traits.h:33, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ext/alloc_traits.h:34, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/unordered_map:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:61: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from command_helpers.h:40, from command_download.cc:70: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/parse.h:42, from command_download.cc:66: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ command_download.cc: In function 'torrent::Object d_list_has(core::Download*, const torrent::Object&, const char*, const char*)': command_download.cc:609:58: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const torrent::Object&; _Arg2 = const torrent::Object&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 609 | rak::bind1st(std::ptr_fun(&torrent::object_equal), args)) != list.end()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ command_download.cc: In function 'torrent::Object d_list_remove(core::Download*, const torrent::Object&, const char*, const char*)': command_download.cc:617:80: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const torrent::Object&; _Arg2 = const torrent::Object&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 617 | list.erase(std::remove_if(list.begin(), list.end(), rak::bind1st(std::ptr_fun(&torrent::object_equal), args)), list.end()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ command_dynamic.cc: In function 'torrent::Object system_method_insert(const torrent::Object::list_type&)': command_dynamic.cc:322:9: warning: 'new_flags' may be used uninitialized [-Wmaybe-uninitialized] 322 | int new_flags; | ^~~~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_events.o command_events.cc In file included from ../rak/priority_queue_default.h:42, from ./globals.h:41, from core/download.h:47, from command_events.cc:50: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_construct.h:61, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/alloc_traits.h:33, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ext/alloc_traits.h:34, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/unordered_map:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:61, from command_events.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command_scheduler.h:43, from command_events.cc:54: ../rak/functional_fun.h: At global scope: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from command_events.cc:56: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from core/view.h:55, from core/view_manager.h:43, from command_events.cc:53: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ command_events.cc: In function 'torrent::Object apply_close_low_diskspace(int64_t)': command_events.cc:225:68: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = core::Download]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 225 | while ((itr = std::find_if(itr, downloadList->end(), std::mem_fun(&core::Download::is_downloading))) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_file.o command_file.cc In file included from ../rak/priority_queue_default.h:42, from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:47, from command_file.cc:45: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from ../rak/path.h:44, from command_file.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from command_helpers.h:40, from command_file.cc:49: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command.h:43: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_ip.o command_ip.cc In file included from ../rak/priority_queue_default.h:42, from globals.h:41, from command_ip.cc:45: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/locale_classes.h:40, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/ios_base.h:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ios:42, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/istream:38, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/fstream:38, from command_ip.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from command_helpers.h:40, from command_ip.cc:46: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command.h:43: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_helpers.o command_helpers.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_groups.o command_groups.cc In file included from ../rak/priority_queue_default.h:42, from globals.h:41, from command_helpers.cc:41: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/exceptions.h:47, from command_helpers.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from command_helpers.h:40, from command_helpers.cc:43: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command.h:43: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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, from ./globals.h:41, from ui/download_list.h:41, from ui/root.h:42, from command_groups.cc:44: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/download/resource_manager.h:40, from command_groups.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_local.o command_local.cc In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from command_groups.cc:46: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/parse.h:42, from command_groups.cc:45: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_logging.o command_logging.cc command_groups.cc: In function 'int64_t cg_get_index(const torrent::Object&)': command_groups.cc:141:111: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = torrent::choke_group]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 141 | rak::equal(arg.as_string(), std::mem_fun(&torrent::choke_group::name))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ command_groups.cc: In function 'torrent::Object apply_cg_insert(const std::string&)': command_groups.cc:194:48: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = torrent::choke_group]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 194 | rak::equal(arg, std::mem_fun(&torrent::choke_group::name))) != cg_list_hack.end()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ command_groups.cc: In function 'torrent::Object apply_cg_index_of(const std::string&)': command_groups.cc:209:88: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = torrent::choke_group]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 209 | std::find_if(cg_list_hack.begin(), cg_list_hack.end(), rak::equal(arg, std::mem_fun(&torrent::choke_group::name))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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, from ./globals.h:41, from core/download.h:47, from command_local.cc:53: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_construct.h:61, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/alloc_traits.h:33, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ext/alloc_traits.h:34, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/unordered_map:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:61, from command_local.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42, from ./globals.h:41, from core/download.h:47, from command_logging.cc:11: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/vector:60, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/data/chunk_utils.h:40, from command_logging.cc:6: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from command_local.cc:58: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command_map.h:43: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from command_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: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/refwrap.h:39, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/vector:66: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/scgi.h:41, from command_local.cc:59: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_network.o command_network.cc In file included from ../rak/priority_queue_default.h:42, from ./globals.h:41, from core/download.h:47, from command_network.cc:54: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_construct.h:61, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/alloc_traits.h:33, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ext/alloc_traits.h:34, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/unordered_map:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:61, from command_network.cc:39: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/scgi.h:41, from command_network.cc:56: ../rak/functional_fun.h: At global scope: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from command_network.cc:59: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/parse.h:42, from command_network.cc:58: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_peer.o command_peer.cc ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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, from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:47, from command_peer.cc:49: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from ../rak/path.h:44, from command_peer.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from command_helpers.h:40, from command_peer.cc:54: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command.h:43: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_throttle.o command_throttle.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_tracker.o command_tracker.cc In file included from ../rak/priority_queue_default.h:42, from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:47, from command_throttle.cc:45: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from ../rak/socket_address.h:51, from ../rak/address_info.h:47, from command_throttle.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42, from ./globals.h:41, from core/download.h:47, from command_tracker.cc:46: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45, from ../rak/socket_address.h:51, from ../rak/address_info.h:47, from command_tracker.cc:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from command_throttle.cc:48: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/parse.h:42, from command_throttle.cc:47: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:240, from command_helpers.h:40, from command_tracker.cc:51: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command.h:43: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ command_tracker.cc: In function 'torrent::Object apply_enable_trackers(int64_t)': command_tracker.cc:103:37: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 103 | arg ? std::mem_fun(&torrent::Tracker::enable) : std::mem_fun(&torrent::Tracker::disable)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1371:5: note: declared here 1371 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ command_tracker.cc:103:79: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 103 | arg ? std::mem_fun(&torrent::Tracker::enable) : std::mem_fun(&torrent::Tracker::disable)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1371:5: note: declared here 1371 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_scheduler.o command_scheduler.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o command_ui.o command_ui.cc In file included from ../rak/priority_queue_default.h:42, from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:47, from command_scheduler.cc:41: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/vector:60, from core/manager.h:41: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from command_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 /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:48, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bitset:47, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/regex:38, from command_ui.cc:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from command_ui.cc:45: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:240, from command_helpers.h:40, from command_scheduler.cc:49: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from core/view.h:55, from command_scheduler.cc:44: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from command_ui.cc:46: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/refwrap.h:39, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/vector:66: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42, from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:47, from command_ui.cc:49: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/string:45: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from rpc/command.h:240, from command_helpers.h:40, from command_ui.cc:57: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from core/view.h:55, from core/view_manager.h:43, from command_ui.cc:50: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ In file included from rpc/parse_commands.h:43, from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o control.o control.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o globals.o globals.cc In file included from ../rak/priority_queue_default.h:42, from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:47, from control.cc:44: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_algobase.h:65, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/list:60, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/connection_manager.h:42, from control.cc:41: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42, from globals.h:41, from globals.cc:39: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_construct.h:61, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/alloc_traits.h:33, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ext/alloc_traits.h:34, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/unordered_map:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:61, from ../rak/priority_queue_default.h:40: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from display/window.h:41, from 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 /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/connection_manager.h:48: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.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 { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command_scheduler.h:43, from control.cc:55: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from control.cc:56: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from core/view.h:55, from core/view_manager.h:43, from control.cc:46: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o option_parser.o option_parser.cc option_parser.cc: In static member function 'static bool OptionParser::has_flag(char, int, char**)': option_parser.cc:91:77: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const char*; _Arg2 = const char*; _Result = int]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 91 | return std::find_if(argv, argv + argc, std::not1(std::bind1st(std::ptr_fun(&std::strcmp), options))) != argv + argc; | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49, from option_parser.cc:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ option_parser.cc:91:64: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function; _Tp = char [3]]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 91 | return std::find_if(argv, argv + argc, std::not1(std::bind1st(std::ptr_fun(&std::strcmp), options))) != argv + argc; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ option_parser.cc:91:51: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = binder1st >]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] 91 | return std::find_if(argv, argv + argc, std::not1(std::bind1st(std::ptr_fun(&std::strcmp), options))) != argv + argc; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o signal_handler.o signal_handler.cc i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o thread_base.o thread_base.cc In file included from ../rak/priority_queue_default.h:42, from thread_base.h:44, from thread_base.cc:39: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_construct.h:61, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/alloc_traits.h:33, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ext/alloc_traits.h:34, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/unordered_map:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:61, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/utils/signal_bitfield.h:40, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/utils/thread_base.h:43, from thread_base.h:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ i486-openwrt-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/include/fortify -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -c -o thread_worker.o thread_worker.cc In file included from ../rak/priority_queue_default.h:42, from thread_base.h:44, from thread_worker.h:40, from thread_worker.cc:39: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_construct.h:61, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/alloc_traits.h:33, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/ext/alloc_traits.h:34, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/unordered_map:41, from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:61, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/utils/signal_bitfield.h:40, from /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/utils/thread_base.h:43, from thread_base.h:42: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/scgi.h:41, from thread_worker.cc:50: ../rak/functional_fun.h: At global scope: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/functional:49: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 78 | class function_base2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, from thread_worker.cc:52: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* 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: /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/bits/stl_function.h:1438: /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/i486-openwrt-linux-musl/include/c++/12.3.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ rm -f libsub_root.a i486-openwrt-linux-musl-gcc-ar cru libsub_root.a command_download.o command_dynamic.o command_events.o command_file.o command_ip.o command_helpers.o command_groups.o command_local.o command_logging.o command_network.o command_peer.o command_throttle.o command_tracker.o command_scheduler.o command_ui.o control.o globals.o option_parser.o signal_handler.o thread_base.o thread_worker.o /builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/bin/../lib/gcc/i486-openwrt-linux-musl/12.3.0/../../../../i486-openwrt-linux-musl/bin/ar: `u' modifier ignored since `D' is the default (see `U') i486-openwrt-linux-musl-gcc-ranlib libsub_root.a /bin/bash ../libtool --tag=CXX --mode=link i486-openwrt-linux-musl-g++ -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -faligned-new -DNDEBUG -Wall -pthread -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -lcrypto -lz -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lpthread -lpthread -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -lncursesw -L/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/lib -lcurl -L/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/lib -ltorrent OpenWrt-libtool: link: i486-openwrt-linux-musl-g++ -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8=rtorrent-0.9.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z -Wl,now -Wl,-z -Wl,relro -faligned-new -DNDEBUG -Wall -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/include -fuse-ld=bfd -znow -zrelro -o rtorrent main.o -fuse-ld=bfd -znow -zrelro -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-12.3.0_musl/lib -lcrypto -lz libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lpthread -lncursesw -L/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium4_musl/usr/lib -lcurl -ltorrent -pthread make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src' Making all in test make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/test' make[6]: Nothing to be done for 'all'. make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/test' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8' make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8' make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8' make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8' Making install in doc make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/doc' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/doc' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/doc' make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/doc' Making install in src make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src' Making install in core make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/core' make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/core' make[7]: Nothing to be done for 'install-exec-am'. make[7]: Nothing to be done for 'install-data-am'. make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/core' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/core' Making install in display make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/display' make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/display' make[7]: Nothing to be done for 'install-exec-am'. make[7]: Nothing to be done for 'install-data-am'. make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/display' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/display' Making install in input make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/input' make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/input' make[7]: Nothing to be done for 'install-exec-am'. make[7]: Nothing to be done for 'install-data-am'. make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/input' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/input' Making install in rpc make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/rpc' make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/rpc' make[7]: Nothing to be done for 'install-exec-am'. make[7]: Nothing to be done for 'install-data-am'. make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/rpc' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/rpc' Making install in ui make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/ui' make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/ui' make[7]: Nothing to be done for 'install-exec-am'. make[7]: Nothing to be done for 'install-data-am'. make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/ui' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/ui' Making install in utils make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/utils' make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/utils' make[7]: Nothing to be done for 'install-exec-am'. make[7]: Nothing to be done for 'install-data-am'. make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/utils' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src/utils' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src' make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src' /bin/mkdir -p '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/ipkg-install/usr/bin' /bin/bash ../libtool --mode=install /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c rtorrent '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/ipkg-install/usr/bin' OpenWrt-libtool: install: /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c rtorrent /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/ipkg-install/usr/bin/rtorrent make[7]: Nothing to be done for 'install-data-am'. make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src' make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src' make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/src' Making install in test make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/test' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/test' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/test' make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/test' make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8' make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8' make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8' rstrip.sh: /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/ipkg-i386_pentium4/rtorrent/usr/bin/rtorrent: executable Packaged contents of /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/rtorrent-norpc/rtorrent-0.9.8/ipkg-i386_pentium4/rtorrent into /builder/shared-workdir/build/sdk/bin/packages/i386_pentium4/packages/rtorrent_0.9.8-2_i386_pentium4.ipk time: package/feeds/packages/rtorrent/norpc/compile#347.05#27.10#305.39