Diff of the two buildlogs: -- --- b1/build.log 2024-04-23 10:19:29.527051852 +0000 +++ b2/build.log 2024-04-23 10:29:26.005659027 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Apr 22 22:12:42 -12 2024 -I: pbuilder-time-stamp: 1713867162 +I: Current time: Wed Apr 24 00:20:15 +14 2024 +I: pbuilder-time-stamp: 1713867615 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking rtorrent_0.9.8-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/26396/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/7173/tmp/hooks/D01_modify_environment starting +debug: Running on ff4a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 23 10:20 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/7173/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/7173/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='d283766a889c4ee7a486fcbb0574e42e' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='26396' - PS1='# ' - PS2='> ' + INVOCATION_ID=988eda54ac9049848442e2c0e0df3df4 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=7173 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.3COWjHIr/pbuilderrc_HgMJ --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.3COWjHIr/b1 --logfile b1/build.log rtorrent_0.9.8-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.3COWjHIr/pbuilderrc_zT7k --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.3COWjHIr/b2 --logfile b2/build.log rtorrent_0.9.8-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64c 6.1.0-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-armmp-lpae #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 21 08:04 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/26396/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 07:13 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/7173/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -182,7 +214,7 @@ Get: 57 http://deb.debian.org/debian unstable/main armhf libtorrent-dev armhf 0.13.8-2.1+b1 [61.1 kB] Get: 58 http://deb.debian.org/debian unstable/main armhf libxmlrpc-core-c3t64 armhf 1.33.14-12+b1 [125 kB] Get: 59 http://deb.debian.org/debian unstable/main armhf libxmlrpc-core-c3-dev armhf 1.33.14-12+b1 [197 kB] -Fetched 22.4 MB in 2s (9359 kB/s) +Fetched 22.4 MB in 1s (17.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package readline-common. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19442 files and directories currently installed.) @@ -437,7 +469,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/rtorrent-0.9.8/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../rtorrent_0.9.8-1_source.changes +I: user script /srv/workspace/pbuilder/7173/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/7173/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/rtorrent-0.9.8/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../rtorrent_0.9.8-1_source.changes dpkg-buildpackage: info: source package rtorrent dpkg-buildpackage: info: source version 0.9.8-1 dpkg-buildpackage: info: source distribution unstable @@ -737,7 +773,7 @@ config.status: executing libtool commands make[1]: Leaving directory '/build/reproducible-path/rtorrent-0.9.8' dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/reproducible-path/rtorrent-0.9.8' make all-recursive make[2]: Entering directory '/build/reproducible-path/rtorrent-0.9.8' @@ -752,28 +788,7 @@ g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o curl_get.o curl_get.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o curl_socket.o curl_socket.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o curl_stack.o curl_stack.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 /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/ostream:40, - from /usr/include/c++/13/iostream:41, - from curl_get.cc:39: -/usr/include/c++/13/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' +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o dht_manager.o dht_manager.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 { @@ -867,21 +882,6 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from curl_get.cc:40: -curl_get.cc: In member function 'double core::CurlGet::size_done()': -curl_get.cc:136:31: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] - 136 | curl_easy_getinfo(m_handle, CURLINFO_SIZE_DOWNLOAD, &d); - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/arm-linux-gnueabihf/curl/curl.h:2862:3: note: declared here - 2862 | CURLINFO_SIZE_DOWNLOAD - | ^~~~~~~~~~~~~~~~~~~~~~ -curl_get.cc: In member function 'double core::CurlGet::size_total()': -curl_get.cc:144:31: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] - 144 | curl_easy_getinfo(m_handle, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &d); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/arm-linux-gnueabihf/curl/curl.h:2879:3: note: declared here - 2879 | CURLINFO_CONTENT_LENGTH_DOWNLOAD - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, from curl_socket.cc:46: @@ -904,16 +904,6 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438, - from /usr/include/c++/13/string:49: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ 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))); @@ -941,6 +931,15 @@ /usr/include/c++/13/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ 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."); @@ -951,22 +950,110 @@ ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: +In file included from /usr/include/c++/13/bits/stl_function.h:1438, + from /usr/include/c++/13/functional:49: /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from curl_get.cc:44: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/ostream:40, + from /usr/include/c++/13/iostream:41, + from curl_get.cc:39: +/usr/include/c++/13/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); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/arm-linux-gnueabihf/curl/curl.h:2862:3: note: declared here + 2862 | CURLINFO_SIZE_DOWNLOAD + | ^~~~~~~~~~~~~~~~~~~~~~ +curl_get.cc: In member function 'double core::CurlGet::size_total()': +curl_get.cc:144:31: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] + 144 | curl_easy_getinfo(m_handle, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &d); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/arm-linux-gnueabihf/curl/curl.h:2879:3: note: declared here + 2879 | CURLINFO_CONTENT_LENGTH_DOWNLOAD + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/stl_function.h:1438, - from /usr/include/c++/13/functional:49: + from /usr/include/c++/13/string:49: /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o dht_manager.o dht_manager.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o download.o download.cc +In file included from ./../rpc/command.h:240, + from ./../rpc/command_map.h:45, + from ./../rpc/parse_commands.h:43, + from dht_manager.cc:47: +./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from dht_manager.cc:41: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +./../rpc/command_map.h: At global scope: +./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/fstream:40, + from dht_manager.cc:39: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from dht_manager.cc:49: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ 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 { @@ -1043,48 +1130,6 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from ./../rpc/command.h:240, - from ./../rpc/command_map.h:45, - from ./../rpc/parse_commands.h:43, - from dht_manager.cc:47: -./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from dht_manager.cc:41: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -./../rpc/command_map.h: At global scope: -./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/fstream:40, - from dht_manager.cc:39: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from dht_manager.cc:49: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: -/usr/include/c++/13/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' g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o download_factory.o download_factory.cc In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, @@ -1105,15 +1150,6 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, from download.cc:52: @@ -1140,6 +1176,7 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -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, @@ -1182,24 +1219,6 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -download_factory.cc: In member function 'void core::DownloadFactory::receive_success()': -download_factory.cc:319:44: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const __cxx11::basic_string&; _Arg2 = rpc::rt_triple; _Result = torrent::Object]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] - 319 | rak::bind2nd(std::ptr_fun(&rpc::parse_command_multiple_std), rpc::make_target(download))); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1153:5: note: declared here - 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) - | ^~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o download_list.o download_list.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o download_store.o download_store.cc In file included from download_list.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { @@ -1280,6 +1299,23 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +download_factory.cc: In member function 'void core::DownloadFactory::receive_success()': +download_factory.cc:319:44: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const __cxx11::basic_string&; _Arg2 = rpc::rt_triple; _Result = torrent::Object]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] + 319 | rak::bind2nd(std::ptr_fun(&rpc::parse_command_multiple_std), rpc::make_target(download))); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1153:5: note: declared here + 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) + | ^~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o download_store.o download_store.cc In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, @@ -1316,6 +1352,7 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o http_queue.o http_queue.cc 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)); @@ -1415,61 +1452,6 @@ /usr/include/c++/13/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 download.h:47, - from download_store.cc:56: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/fstream:40, - from download_store.cc:41: -/usr/include/c++/13/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 /usr/include/c++/13/string:49: -/usr/include/c++/13/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 /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from /usr/include/c++/13/vector:72, - from /usr/include/c++/13/functional:64, - from download_factory.cc:44: -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 445 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, - inlined from 'void core::DownloadFactory::receive_success()' at download_factory.cc:233:25: -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o http_queue.o http_queue.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o manager.o manager.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 { @@ -1563,6 +1545,29 @@ 56 | throw torrent::internal_error("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 download.h:47, + from download_store.cc:56: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/fstream:40, + from download_store.cc:41: +/usr/include/c++/13/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()); @@ -1570,6 +1575,14 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +download_store.cc: In member function 'utils::Directory core::DownloadStore::get_formated_entries()': +download_store.cc:199:58: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = const utils::directory_entry&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] + 199 | d.erase(std::remove_if(d.begin(), d.end(), std::ptr_fun(¬_correct_format)), d.end()); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49: +/usr/include/c++/13/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] @@ -1579,7 +1592,16 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o poll_manager.o poll_manager.cc +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -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 { @@ -1594,100 +1616,6 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -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 /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/c++/13/stdexcept:39, - from poll_manager.cc:39: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from view.cc:41: -../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 174 | struct less2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/functional:49, - from view.cc:40: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 213 | struct greater2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/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 { - | ^~~~~~~~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 279 | struct on_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 299 | struct on2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 320 | struct mem_ptr_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 341 | struct mem_ref_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 352 | struct const_mem_ref_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 395 | struct call_delete : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 408 | class bind1st_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 433 | class bind2nd_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 551 | class mem_fun2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/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, @@ -1704,32 +1632,9 @@ ./../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 view.cc:42: -../../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 70 | class function_base1 : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 78 | class function_base2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438, - from /usr/include/c++/13/string:49: -/usr/include/c++/13/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 manager.cc:64: @@ -1746,6 +1651,14 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from /usr/include/c++/13/vector:72, + from /usr/include/c++/13/functional:64, + from download_factory.cc:44: +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 445 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o poll_manager.o poll_manager.cc 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)); @@ -1798,25 +1711,6 @@ /usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ -In file included from ./../rpc/command.h:240, - from ./../rpc/command_map.h:45, - from ./../rpc/parse_commands.h:43, - from view.cc:46: -./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./../rpc/command_map.h:43: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -./../rpc/command_map.h: At global scope: -./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/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] @@ -1825,15 +1719,22 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, + inlined from 'void core::DownloadFactory::receive_success()' at download_factory.cc:233:25: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, - from ./../control.h:43, - from view.cc:48: + from ./../globals.h:41, + from poll_manager.cc:46: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/algorithm:60, - from view.cc:39: +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from /usr/include/c++/13/stdexcept:39, + from poll_manager.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -1842,43 +1743,106 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o view_manager.o view_manager.cc -view.cc: At global scope: -view.cc:57:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 57 | struct view_downloads_compare : std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -view.cc:91:37: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 91 | struct view_downloads_filter : std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -view.cc: In member function 'void core::View::initialize(const std::string&)': -view.cc:179:72: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::View; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 179 | std::for_each(dlist->begin(), dlist->end(), rak::bind1st(std::mem_fun(&View::push_back), this)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1395:5: note: declared here - 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) - | ^~~~~~~ -view.cc: In member function 'void core::View::insert_visible(core::Download*)': -view.cc:361:75: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = core::view_downloads_compare; _Tp = core::Download*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 361 | iterator itr = std::find_if(begin_visible(), end_visible(), std::bind1st(view_downloads_compare(m_sortNew), d)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:136:5: note: declared here - 136 | bind1st(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o view.o view.cc ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438, + from /usr/include/c++/13/string:49: /usr/include/c++/13/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 /usr/include/c++/13/functional:49, + from view.cc:40: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 213 | struct greater2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 273 | struct invert : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 279 | struct on_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 299 | struct on2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 320 | struct mem_ptr_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 341 | struct mem_ref_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 352 | struct const_mem_ref_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 395 | struct call_delete : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 408 | class bind1st_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 433 | class bind2nd_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 551 | class mem_fun2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o view_manager.o view_manager.cc +In file included from view.cc:42: +../../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 70 | class function_base1 : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 78 | class function_base2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from view_manager.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { @@ -1954,6 +1918,78 @@ /usr/include/c++/13/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: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +./../rpc/command_map.h: At global scope: +./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/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 /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/algorithm:60, + from view.cc:39: +/usr/include/c++/13/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 { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +view.cc:91:37: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 91 | struct view_downloads_filter : std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +view.cc: In member function 'void core::View::initialize(const std::string&)': +view.cc:179:72: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::View; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 179 | std::for_each(dlist->begin(), dlist->end(), rak::bind1st(std::mem_fun(&View::push_back), this)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1395:5: note: declared here + 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) + | ^~~~~~~ +view.cc: In member function 'void core::View::insert_visible(core::Download*)': +view.cc:361:75: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = core::view_downloads_compare; _Tp = core::Download*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 361 | iterator itr = std::find_if(begin_visible(), end_visible(), std::bind1st(view_downloads_compare(m_sortNew), d)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/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)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/c++/13/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 view_manager.cc:44: @@ -2023,6 +2059,7 @@ g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o canvas.o canvas.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o frame.o frame.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o manager.o manager.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o utils.o utils.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> { @@ -2032,13 +2069,11 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from manager.cc:41: +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 { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/stdexcept:39, - from manager.cc:39: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -2110,26 +2145,34 @@ | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, - from manager.cc:44: + from window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/algorithm:60, + from frame.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -In file included from window.h:41, - from frame.cc:46: +In file included from manager.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from /usr/include/c++/13/stdexcept:39, + from manager.cc:39: /usr/include/c++/13/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 { | ^~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -2193,20 +2236,14 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, - from window.h:44: + from manager.cc:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/algorithm:60, - from frame.cc:39: +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -2215,6 +2252,15 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/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, @@ -2246,6 +2292,56 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from ./../core/download.h:47, + from utils.cc:57: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/sstream:40, + from utils.cc:41: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ./../rpc/command.h:240, + from ./../rpc/command_map.h:45, + from ./../rpc/parse_commands.h:43, + from utils.cc:59: +./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./../rpc/command_map.h:43: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +./../rpc/command_map.h: At global scope: +./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +utils.cc: In function 'char* display::print_download_status(char*, char*, core::Download*)': +utils.cc:201:32: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 201 | std::mem_fun(&torrent::Tracker::is_busy_not_scrape)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/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] @@ -2255,8 +2351,8 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o utils.o utils.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o text_element_list.o text_element_list.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o text_element_string.o text_element_string.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 { @@ -2332,7 +2428,7 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o text_element_string.o text_element_string.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o text_element_value.o text_element_value.cc In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from text_element.h:44, @@ -2355,22 +2451,21 @@ | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, - from ./../core/download.h:47, - from utils.cc:57: + from text_element_value.cc:41: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/sstream:40, - from utils.cc:41: +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/bits/hashtable_policy.h:36, + from /usr/include/c++/13/bits/hashtable.h:35, + from /usr/include/c++/13/bits/unordered_map.h:33, + from /usr/include/c++/13/unordered_map:41, + from /usr/include/c++/13/functional:63, + from ../../rak/priority_queue_default.h:40: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window.o window.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."); @@ -2379,68 +2474,15 @@ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, - from utils.cc:59: -./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./../rpc/command_map.h:43: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -./../rpc/command_map.h: At global scope: -./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -utils.cc: In function 'char* display::print_download_status(char*, char*, core::Download*)': -utils.cc:201:32: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 201 | std::mem_fun(&torrent::Tracker::is_busy_not_scrape)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here - 1377 | mem_fun(_Ret (_Tp::*__f)() const) - | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o text_element_value.o text_element_value.cc -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/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 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 ../../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 ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/bits/hashtable_policy.h:36, - from /usr/include/c++/13/bits/hashtable.h:35, - from /usr/include/c++/13/bits/unordered_map.h:33, - from /usr/include/c++/13/unordered_map:41, - from /usr/include/c++/13/functional:63, - from ../../rak/priority_queue_default.h:40: -/usr/include/c++/13/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 { @@ -2451,11 +2493,6 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from text_element.h:44, @@ -2486,9 +2523,7 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window.o window.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_download_chunks_seen.o window_download_chunks_seen.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_download_list.o window_download_list.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] @@ -2577,11 +2612,21 @@ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_download_list.o window_download_list.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 /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/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 { @@ -2658,15 +2703,8 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_download_statusbar.o window_download_statusbar.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_download_transfer_list.o window_download_transfer_list.cc In file included from window_download_list.cc:39: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { @@ -2676,7 +2714,6 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -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 ./../core/download.h:47, @@ -2876,9 +2913,40 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -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 /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/bits/specfun.h:43, + from /usr/include/c++/13/cmath:3699, + from window_download_transfer_list.cc:39: +/usr/include/c++/13/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' g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_file_list.o window_file_list.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_http_queue.o window_http_queue.cc +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438, + from /usr/include/c++/13/string:49, + from /usr/include/c++/13/stdexcept:39, + from window_download_transfer_list.cc:40: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_input.o window_input.cc In file included from ../../rak/priority_queue_default.h:42, from ./../core/curl_get.h:45, from window_http_queue.cc:41: @@ -2892,6 +2960,7 @@ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -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."); @@ -2972,6 +3041,13 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +window_http_queue.cc: In member function 'void display::WindowHttpQueue::receive_erase(core::CurlGet*)': +window_http_queue.cc:148:112: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = core::CurlGet*; _Tp = display::WindowHttpQueue::Node]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 148 | Container::iterator itr = std::find_if(m_container.begin(), m_container.end(), rak::equal(h, std::mem_fun_ref(&Node::get_http))); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1383:5: note: declared here + 1383 | mem_fun_ref(_Ret (_Tp::*__f)()) + | ^~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, @@ -2992,32 +3068,6 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from ./../core/download.h:47, - from window_download_transfer_list.cc:45: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/bits/specfun.h:43, - from /usr/include/c++/13/cmath:3699, - from window_download_transfer_list.cc:39: -/usr/include/c++/13/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' -window_http_queue.cc: In member function 'void display::WindowHttpQueue::receive_erase(core::CurlGet*)': -window_http_queue.cc:148:112: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = core::CurlGet*; _Tp = display::WindowHttpQueue::Node]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 148 | Container::iterator itr = std::find_if(m_container.begin(), m_container.end(), rak::equal(h, std::mem_fun_ref(&Node::get_http))); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/usr/include/c++/13/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] @@ -3027,31 +3077,6 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438, - from /usr/include/c++/13/string:49: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438, - from /usr/include/c++/13/string:49, - from /usr/include/c++/13/stdexcept:39, - from window_download_transfer_list.cc:40: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_input.o window_input.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_log.o window_log.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_log_complete.o window_log_complete.cc In file included from window.h:41, from window_input.h:42, from window_input.cc:40: @@ -3141,15 +3166,40 @@ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438, + from /usr/include/c++/13/string:49: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -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: + from window_log.h:42, + from window_log.cc:45: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, - from canvas.h:40, - from window_log_complete.cc:41: + from /usr/include/torrent/torrent.h:41, + from window_log.cc:40: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -3225,8 +3275,9 @@ ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/list:62, + from /usr/include/torrent/torrent.h:40: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -3235,20 +3286,26 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_peer_list.o window_peer_list.cc +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_statusbar.o window_statusbar.cc In file included from window.h:41, - from window_log.h:42, - from window_log.cc:45: + from window_log_complete.h:42, + from window_log_complete.cc:43: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, - from /usr/include/torrent/torrent.h:41, - from window_log.cc:40: + from canvas.h:40, + from window_log_complete.cc:41: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -3324,9 +3381,8 @@ ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/list:62, - from /usr/include/torrent/torrent.h:40: +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -3344,6 +3400,36 @@ /usr/include/c++/13/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_peer_list.cc:47: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from /usr/include/c++/13/stdexcept:39, + from window_peer_list.cc:39: +/usr/include/c++/13/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' +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_string_list.o window_string_list.cc +In file included from window_peer_list.cc:48: +../../rak/algorithm.h: At global scope: +../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_text.o window_text.cc ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -3353,18 +3439,6 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_peer_list.o window_peer_list.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_statusbar.o window_statusbar.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_string_list.o window_string_list.cc In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, from window_statusbar.cc:42: @@ -3461,43 +3535,6 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from ./../core/download.h:47, - from window_peer_list.cc:47: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/c++/13/stdexcept:39, - from window_peer_list.cc:39: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from window_peer_list.cc:48: -../../rak/algorithm.h: At global scope: -../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/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] @@ -3507,16 +3544,12 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_text.o window_text.cc -In file included from window.h:41, - from window_string_list.h:43, - from window_string_list.cc:41: +In file included from window_text.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from canvas.h:40, - from window_string_list.cc:39: +In file included from /usr/include/c++/13/functional:49, + from ../../rak/functional.h:41: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -3586,38 +3619,15 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from window.h:44: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: -/usr/include/c++/13/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' -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_title.o window_title.cc -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from window_text.cc:40: +In file included from window.h:41, + from window_string_list.h:43, + from window_string_list.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/functional:49, - from ../../rak/functional.h:41: +In file included from /usr/include/c++/13/string:49, + from canvas.h:40, + from window_string_list.cc:39: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -3687,7 +3697,24 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from window.h:44: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_title.o window_title.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o window_tracker_list.o window_tracker_list.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 ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from text_element.h:44, @@ -3708,6 +3735,51 @@ /usr/include/c++/13/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 /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/algorithm:60, + from window_text.cc:39: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +In file included from window_tracker_list.cc:39: +../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/functional:49, + from ../../rak/algorithm.h:41: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from window.h:41, from window_title.h:41, from window_title.cc:40: @@ -3726,19 +3798,6 @@ /usr/include/c++/13/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 /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/algorithm:60, - from window_text.cc:39: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -3775,11 +3834,6 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -3829,24 +3883,6 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from window_tracker_list.cc:39: -../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/functional:49, - from ../../rak/algorithm.h:41: -/usr/include/c++/13/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, @@ -3885,23 +3921,6 @@ g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o input_event.o input_event.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o manager.o manager.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o path_input.o path_input.cc -manager.cc: In member function 'void input::Manager::pressed(int)': -manager.cc:67:61: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = bool; _Tp = input::Bindings; _Arg = int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 67 | std::find_if(rbegin(), rend(), std::bind2nd(std::mem_fun(&Bindings::pressed), key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/functional:49, - from manager.cc:40: -/usr/include/c++/13/bits/stl_function.h:1395:5: note: declared here - 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) - | ^~~~~~~ -manager.cc:67:48: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 67 | std::find_if(rbegin(), rend(), std::bind2nd(std::mem_fun(&Bindings::pressed), key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o text_input.o text_input.cc In file included from path_input.cc:40: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { @@ -3984,6 +4003,23 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o text_input.o text_input.cc +manager.cc: In member function 'void input::Manager::pressed(int)': +manager.cc:67:61: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = bool; _Tp = input::Bindings; _Arg = int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 67 | std::find_if(rbegin(), rend(), std::bind2nd(std::mem_fun(&Bindings::pressed), key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/functional:49, + from manager.cc:40: +/usr/include/c++/13/bits/stl_function.h:1395:5: note: declared here + 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) + | ^~~~~~~ +manager.cc:67:48: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 67 | std::find_if(rbegin(), rend(), std::bind2nd(std::mem_fun(&Bindings::pressed), key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ path_input.cc: In member function 'input::PathInput::range_type input::PathInput::find_incomplete(utils::Directory&, const std::string&)': path_input.cc:157:72: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const utils::directory_entry&; _Arg2 = const __cxx11::basic_string&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 157 | r.first = std::find_if(d.begin(), d.end(), rak::bind2nd(std::ptr_fun(&find_complete_not_compare), f)); @@ -4007,6 +4043,7 @@ g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command.o command.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_map.o command_map.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_scheduler.o command_scheduler.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -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 { @@ -4084,13 +4121,15 @@ | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, - from command_map.cc:45: + from command_scheduler_item.h:40, + from command_scheduler_item.cc:41: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/vector:62, - from command_map.cc:39: +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from /usr/include/torrent/exceptions.h:47, + from command_scheduler_item.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -4118,6 +4157,33 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from command_map.cc:45: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/vector:62, + from command_map.cc:39: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438, + from /usr/include/c++/13/string:49: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from command.h:240, from command_map.cc:49: command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': @@ -4138,26 +4204,6 @@ /usr/include/c++/13/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 command.h:240, - from command.cc:42: -command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from parse.h:42, - from command.cc:40: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/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] @@ -4185,6 +4231,31 @@ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +In file included from command.h:240, + from command.cc:42: +command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from parse.h:42, + from command.cc:40: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -4197,11 +4268,6 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from command.h:240, from command_map.h:45, from parse_commands.h:43, @@ -4257,18 +4323,17 @@ command_map.cc:147:100: note: '' declared here 147 | dest_itr->second.m_doc))); | ^ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_scheduler_item.o command_scheduler_item.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o exec_file.o exec_file.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o object_storage.o object_storage.cc 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: + from ./../thread_base.h:44, + from exec_file.cc:49: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13/string:47, - from /usr/include/torrent/exceptions.h:47, - from command_scheduler_item.cc:39: + from exec_file.cc:40: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -4277,7 +4342,36 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o exec_file.o exec_file.cc +In file included from command.h:240, + from object_storage.h:49, + from object_storage.cc:39: +command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from object_storage.h:46: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o parse.o parse.cc +In file included from parse_commands.h:43, + from object_storage.cc:43: +command_map.h: At global scope: +command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/hashtable.h:37, + from /usr/include/c++/13/bits/unordered_map.h:33, + from /usr/include/c++/13/unordered_map:41, + from object_storage.h:45: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/vector:72: +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const torrent::Object&}; _Tp = torrent::Object; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 445 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -4288,11 +4382,6 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from /usr/include/c++/13/vector:72: -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const torrent::Object&}; _Tp = torrent::Object; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 445 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/vector:66: In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'const torrent::Object rpc::command_base_call_list(command_base*, target_type, const torrent::Object&) [with T = torrent::File*]' at command.cc:120:20: @@ -4309,75 +4398,22 @@ /usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1289 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o parse_commands.o parse_commands.cc In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'const torrent::Object rpc::command_base_call_list(command_base*, target_type, const torrent::Object&) [with T = torrent::FileListIterator*]' at command.cc:120:20: /usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1289 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o object_storage.o object_storage.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 /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from exec_file.cc:40: -/usr/include/c++/13/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 member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'const torrent::Object rpc::command_base_call_list(command_base*, target_type, const torrent::Object&) [with T = torrent::Peer*]' at command.cc:120:20: /usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1289 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438, - from /usr/include/c++/13/string:49: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'const torrent::Object rpc::command_base_call_list(command_base*, target_type, const torrent::Object&) [with T = rt_triple]' at command.cc:120:20: /usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1289 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o parse.o parse.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o parse_commands.o parse_commands.cc -In file included from command.h:240, - from object_storage.h:49, - from object_storage.cc:39: -command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from object_storage.h:46: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -In file included from parse_commands.h:43, - from object_storage.cc:43: -command_map.h: At global scope: -command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/hashtable.h:37, - from /usr/include/c++/13/bits/unordered_map.h:33, - from /usr/include/c++/13/unordered_map:41, - from object_storage.h:45: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ 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 { @@ -4458,6 +4494,7 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o scgi.o scgi.cc In file included from command.h:240, from command_map.h:45, from parse_commands.h:43, @@ -4514,23 +4551,6 @@ 306 | convert_list_to_string(torrent::Object::list_const_iterator first, | ^~~~~~~~~~~~~~~~~~~~~~ parse.cc:306:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 -parse.cc: In function 'std::string rpc::convert_list_to_string(const torrent::Object&)': -parse.cc:302:75: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 302 | return convert_list_to_string(src.as_list().begin(), src.as_list().end()); - | ^ -parse.cc: In function 'std::string rpc::convert_list_to_command(torrent::Object::list_const_iterator, torrent::Object::list_const_iterator)': -parse.cc:341:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 - 341 | convert_list_to_command(torrent::Object::list_const_iterator first, - | ^~~~~~~~~~~~~~~~~~~~~~~ -parse.cc:341:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 -In file included from /usr/include/c++/13/vector:72, - from /usr/include/torrent/object.h:42, - from parse.h:42, - from parse.cc:45: -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const torrent::Object&}; _Tp = torrent::Object; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 445 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/vector:65, from /usr/include/torrent/object.h:42: /usr/include/c++/13/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]': @@ -4538,6 +4558,10 @@ 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, | ^~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +parse.cc: In function 'std::string rpc::convert_list_to_string(const torrent::Object&)': +parse.cc:302:75: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 302 | return convert_list_to_string(src.as_list().begin(), src.as_list().end()); + | ^ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]' at /usr/include/c++/13/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]' at /usr/include/c++/13/bits/stl_uninitialized.h:373:37, @@ -4546,12 +4570,11 @@ /usr/include/c++/13/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/vector:66: -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'const char* rpc::parse_list(const char*, const char*, torrent::Object*, bool (*)(char))' at parse.cc:242:30: -/usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1289 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +parse.cc: In function 'std::string rpc::convert_list_to_command(torrent::Object::list_const_iterator, torrent::Object::list_const_iterator)': +parse.cc:341:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 + 341 | convert_list_to_command(torrent::Object::list_const_iterator first, + | ^~~~~~~~~~~~~~~~~~~~~~~ +parse.cc:341:1: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]' at /usr/include/c++/13/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]' at /usr/include/c++/13/bits/stl_uninitialized.h:373:37, @@ -4562,48 +4585,25 @@ /usr/include/c++/13/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In copy constructor 'torrent::Object::Object(const torrent::Object&)', - inlined from 'constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = torrent::Object; _U2 = const char*&; typename std::enable_if<(std::_PCC::_MoveConstructiblePair<_U1, _U2>() && std::_PCC::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type = true; _T1 = torrent::Object; _T2 = const char*]' at /usr/include/c++/13/bits/stl_pair.h:688:4, - inlined from 'constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = torrent::Object; _T2 = const char*&]' at /usr/include/c++/13/bits/stl_pair.h:927:72, - inlined from 'rpc::parse_command_type rpc::parse_command(target_type, const char*, const char*)' at parse_commands.cc:137:51: -/usr/include/torrent/object.h:350:32: warning: '.torrent::Object::.torrent::Object::::t_pod' may be used uninitialized [-Wmaybe-uninitialized] - 350 | case TYPE_VALUE: t_pod = b.t_pod; break; - | ~~~~~~^~~~~~~~~ -parse_commands.cc: In function 'rpc::parse_command_type rpc::parse_command(target_type, const char*, const char*)': -parse_commands.cc:137:43: note: '' declared here - 137 | return std::make_pair(torrent::Object(), first); - | ^ -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'const char* rpc::parse_whole_list(const char*, const char*, torrent::Object*, bool (*)(char))' at parse.cc:263:30: -/usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1289 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /usr/include/c++/13/vector:72: +In file included from /usr/include/c++/13/vector:72, + from /usr/include/torrent/object.h:42, + from parse.h:42, + from parse.cc:45: /usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const torrent::Object&}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 445 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/vector:66: In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'void rpc::object_storage::list_push_back(const torrent::raw_string&, const torrent::Object&)' at object_storage.cc:186:41: + inlined from 'const char* rpc::parse_list(const char*, const char*, torrent::Object*, bool (*)(char))' at parse.cc:242:30: /usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1289 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o scgi.o scgi.cc -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': +In file included from /usr/include/c++/13/vector:72: +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const torrent::Object&}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 445 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ -In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, - inlined from 'std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(typename _Container::value_type&&) [with _Container = std::vector]' at /usr/include/c++/13/bits/stl_iterator.h:747:22, - inlined from '_OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation) [with _IIter = __gnu_cxx::__normal_iterator, rpc::object_storage_node>**, vector, rpc::object_storage_node>*, allocator, rpc::object_storage_node>*> > >; _OIter = back_insert_iterator >; _UnaryOperation = _Bind::*(_Bind, rpc::object_storage_node>, const rpc::fixed_key_type<64> >(_Placeholder<1>)>))() const>]' at /usr/include/c++/13/bits/stl_algo.h:4309:12, - inlined from 'torrent::Object::list_type rpc::object_storage::rlookup_list(const std::string&)' at object_storage.cc:264:19: -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o scgi_task.o scgi_task.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o xmlrpc.o xmlrpc.cc In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, from scgi.cc:49: @@ -4622,6 +4622,27 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from /usr/include/c++/13/vector:66: +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'void rpc::object_storage::list_push_back(const torrent::raw_string&, const torrent::Object&)' at object_storage.cc:186:41: +/usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1289 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 445 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +In copy constructor 'torrent::Object::Object(const torrent::Object&)', + inlined from 'constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = torrent::Object; _U2 = const char*&; typename std::enable_if<(std::_PCC::_MoveConstructiblePair<_U1, _U2>() && std::_PCC::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type = true; _T1 = torrent::Object; _T2 = const char*]' at /usr/include/c++/13/bits/stl_pair.h:688:4, + inlined from 'constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = torrent::Object; _T2 = const char*&]' at /usr/include/c++/13/bits/stl_pair.h:927:72, + inlined from 'rpc::parse_command_type rpc::parse_command(target_type, const char*, const char*)' at parse_commands.cc:137:51: +/usr/include/torrent/object.h:350:32: warning: '.torrent::Object::.torrent::Object::::t_pod' may be used uninitialized [-Wmaybe-uninitialized] + 350 | case TYPE_VALUE: t_pod = b.t_pod; break; + | ~~~~~~^~~~~~~~~ +parse_commands.cc: In function 'rpc::parse_command_type rpc::parse_command(target_type, const char*, const char*)': +parse_commands.cc:137:43: note: '' declared here + 137 | return std::make_pair(torrent::Object(), first); + | ^ In file included from scgi.h:41, from scgi.cc:51: ../../rak/functional_fun.h: At global scope: @@ -4638,6 +4659,19 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'const char* rpc::parse_whole_list(const char*, const char*, torrent::Object*, bool (*)(char))' at parse.cc:263:30: +/usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1289 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, + inlined from 'std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(typename _Container::value_type&&) [with _Container = std::vector]' at /usr/include/c++/13/bits/stl_iterator.h:747:22, + inlined from '_OIter std::transform(_IIter, _IIter, _OIter, _UnaryOperation) [with _IIter = __gnu_cxx::__normal_iterator, rpc::object_storage_node>**, vector, rpc::object_storage_node>*, allocator, rpc::object_storage_node>*> > >; _OIter = back_insert_iterator >; _UnaryOperation = _Bind::*(_Bind, rpc::object_storage_node>, const rpc::fixed_key_type<64> >(_Placeholder<1>)>))() const>]' at /usr/include/c++/13/bits/stl_algo.h:4309:12, + inlined from 'torrent::Object::list_type rpc::object_storage::rlookup_list(const std::string&)' at object_storage.cc:264:19: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from command.h:240, from command_map.h:45, from parse_commands.h:43, @@ -4673,6 +4707,8 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o scgi_task.o scgi_task.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o xmlrpc.o xmlrpc.cc In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, from scgi_task.cc:50: @@ -4760,6 +4796,7 @@ g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o download.o download.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o download_list.o download_list.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_base.o element_base.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_chunks_seen.o element_chunks_seen.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 { @@ -4928,17 +4965,15 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from download_list.cc:41: +In file included from ./../display/window.h:41, + from ./../display/window_download_chunks_seen.h:42, + from element_chunks_seen.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/sstream:40, - from download_list.cc:39: + from /usr/include/torrent/exceptions.h:47, + from element_chunks_seen.cc:39: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -5008,41 +5043,9 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_chunks_seen.o element_chunks_seen.cc -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from ./../core/download.h:47, - from download.cc:50: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/bits/hashtable_policy.h:36, - from /usr/include/c++/13/bits/hashtable.h:35, - from /usr/include/c++/13/bits/unordered_map.h:33, - from /usr/include/c++/13/unordered_map:41, - from /usr/include/c++/13/functional:63: -/usr/include/c++/13/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 download_list.cc:47: + from ./../display/window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ @@ -5056,83 +5059,17 @@ 56 | throw torrent::internal_error("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: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -./../rpc/command_map.h: At global scope: -./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from ./../rpc/command.h:240, - from ./../rpc/command_map.h:45, - from ./../rpc/parse_commands.h:43, - from download_list.cc:60: -./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./../core/view.h:55, - from download_list.cc:50: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -./../rpc/command_map.h: At global scope: -./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/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' -download_list.cc: In destructor 'virtual ui::DownloadList::~DownloadList()': -download_list.cc:87:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 87 | throw std::logic_error("ui::DownloadList::~DownloadList() called on an active object"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -download_list.cc:87:5: note: in C++11 destructors default to 'noexcept' -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/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_chunks_seen.h:42, - from element_chunks_seen.cc:42: +In file included from download_list.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, - from /usr/include/torrent/exceptions.h:47, - from element_chunks_seen.cc:39: + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/sstream:40, + from download_list.cc:39: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -5202,9 +5139,50 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_download_list.o element_download_list.cc +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, - from ./../display/window.h:44: + from ./../core/download.h:47, + from download.cc:50: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/bits/hashtable_policy.h:36, + from /usr/include/c++/13/bits/hashtable.h:35, + from /usr/include/c++/13/bits/unordered_map.h:33, + from /usr/include/c++/13/unordered_map:41, + from /usr/include/c++/13/functional:63: +/usr/include/c++/13/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 download_list.cc:47: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ @@ -5218,6 +5196,65 @@ 56 | throw torrent::internal_error("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: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +./../rpc/command_map.h: At global scope: +./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +download.cc: In destructor 'virtual ui::Download::~Download()': +download.cc:101:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 101 | throw torrent::internal_error("ui::Download::~Download() called on an active object."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +download.cc:101:5: note: in C++11 destructors default to 'noexcept' +In file included from ./../rpc/command.h:240, + from ./../rpc/command_map.h:45, + from ./../rpc/parse_commands.h:43, + from download_list.cc:60: +./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./../core/view.h:55, + from download_list.cc:50: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +./../rpc/command_map.h: At global scope: +./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +download_list.cc: In destructor 'virtual ui::DownloadList::~DownloadList()': +download_list.cc:87:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 87 | throw std::logic_error("ui::DownloadList::~DownloadList() called on an active object"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +download_list.cc:87:5: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -5227,7 +5264,6 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_download_list.o element_download_list.cc In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, @@ -5277,7 +5313,6 @@ 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_file_list.o element_file_list.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_log_complete.o element_log_complete.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> { @@ -5304,6 +5339,37 @@ 56 | throw torrent::internal_error("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: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +./../rpc/command_map.h: At global scope: +./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_log_complete.o element_log_complete.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_menu.o element_menu.cc In file included from ../../rak/priority_queue_default.h:42, from ./../display/manager.h:41, from element_log_complete.cc:44: @@ -5322,6 +5388,7 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_peer_list.o element_peer_list.cc In file included from ./../display/window.h:41, from ./../display/window_log_complete.h:42, from element_log_complete.cc:45: @@ -5399,35 +5466,6 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from ./../rpc/command.h:240, - from ./../rpc/command_map.h:45, - from ./../display/text_element.h:44, - from ./../display/text_element_string.h:44, - from element_file_list.cc:46: -./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./../rpc/command_map.h:43: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -./../rpc/command_map.h: At global scope: -./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/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] @@ -5437,8 +5475,6 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_menu.o element_menu.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_peer_list.o element_peer_list.cc In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../display/text_element.h:44, @@ -5479,6 +5515,15 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../display/manager.h:41, from element_peer_list.cc:46: @@ -5498,15 +5543,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_string_list.o element_string_list.cc -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../display/text_element.h:44, @@ -5528,6 +5564,7 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_text.o element_text.cc 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)); @@ -5649,9 +5686,6 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_text.o element_text.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_tracker_list.o element_tracker_list.cc -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_transfer_list.o element_transfer_list.cc In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../display/text_element.h:44, @@ -5692,15 +5726,26 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_tracker_list.o element_tracker_list.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o element_transfer_list.o element_transfer_list.cc In file included from ./../display/window.h:41, - from ./../display/window_tracker_list.h:40, - from element_tracker_list.cc:44: + from ./../display/window_download_transfer_list.h:43, + from element_transfer_list.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, from /usr/include/torrent/exceptions.h:47, - from element_tracker_list.cc:39: + from element_transfer_list.cc:39: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -5786,33 +5831,15 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/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: + from ./../display/window_tracker_list.h:40, + from element_tracker_list.cc:44: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, from /usr/include/torrent/exceptions.h:47, - from element_transfer_list.cc:39: + from element_tracker_list.cc:39: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -5908,6 +5935,15 @@ 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o root.o root.cc +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/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, @@ -6061,6 +6097,7 @@ g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o main.o main.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_download.o command_download.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_dynamic.o command_dynamic.cc +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_events.o command_events.cc In file included from ../rak/priority_queue_default.h:42, from globals.h:41, from command_dynamic.cc:43: @@ -6158,6 +6195,15 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In file included from command_download.cc:47: +../rak/regex.h:53:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 53 | class regex : public std::unary_function { + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/functional:49, + from command_download.cc:39: +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42, from core/dht_manager.h:40, from main.cc:60: @@ -6169,6 +6215,11 @@ /usr/include/c++/13/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: @@ -6193,33 +6244,31 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In file included from ../rak/priority_queue_default.h:42, + from ./globals.h:41, + from core/download.h:47, + from command_download.cc:63: +../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/bits/hashtable_policy.h:36, + from /usr/include/c++/13/bits/hashtable.h:35, + from /usr/include/c++/13/bits/unordered_map.h:33, + from /usr/include/c++/13/unordered_map:41, + from /usr/include/c++/13/functional:63: +/usr/include/c++/13/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_download.cc:47: -../rak/regex.h:53:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 53 | class regex : public std::unary_function { - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/functional:49, - from command_download.cc:39: -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../rak/priority_queue_default.h:113:18: required from here -../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/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: + from command_events.cc:50: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ @@ -6228,7 +6277,8 @@ from /usr/include/c++/13/bits/hashtable.h:35, from /usr/include/c++/13/bits/unordered_map.h:33, from /usr/include/c++/13/unordered_map:41, - from /usr/include/c++/13/functional:63: + from /usr/include/c++/13/functional:63, + from command_events.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -6237,6 +6287,36 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../rak/priority_queue_default.h:113:18: required from here +../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/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_download.cc:70: +rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rpc/parse.h:42, + from command_download.cc:66: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +In file included from rpc/parse_commands.h:43, + from command_helpers.h:41: +rpc/command_map.h: At global scope: +rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from rpc/command_scheduler.h:43, from main.cc:71: ../rak/functional_fun.h: At global scope: @@ -6271,27 +6351,6 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from rpc/command.h:240, - from command_helpers.h:40, - from command_download.cc:70: -rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rpc/parse.h:42, - from command_download.cc:66: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -In file included from rpc/parse_commands.h:43, - from command_helpers.h:41: -rpc/command_map.h: At global scope: -rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/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()) @@ -6313,6 +6372,59 @@ /usr/include/c++/13/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ +In file included from rpc/command_scheduler.h:43, + from command_events.cc:54: +../rak/functional_fun.h: At global scope: +../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 70 | class function_base1 : public std::unary_function { + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/functional:49: +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 78 | class function_base2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from rpc/command.h:240, + from rpc/command_map.h:45, + from rpc/parse_commands.h:43, + from command_events.cc:56: +rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from core/view.h:55, + from core/view_manager.h:43, + from command_events.cc:53: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +rpc/command_map.h: At global scope: +rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../rak/priority_queue_default.h:113:18: required from here +../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +command_events.cc: In function 'torrent::Object apply_close_low_diskspace(int64_t)': +command_events.cc:225:68: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = core::Download]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 225 | while ((itr = std::find_if(itr, downloadList->end(), std::mem_fun(&core::Download::is_downloading))) + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/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] @@ -6367,7 +6479,7 @@ /usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1289 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_events.o command_events.cc +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_file.o command_file.cc command_dynamic.cc: In function 'torrent::Object system_method_insert_object(const torrent::Object::list_type&, int)': command_dynamic.cc:140:36: note: parameter passing for argument of type 'torrent::Object::list_const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 140 | system_method_generate_command2(&value, itrArgs, args.end()); @@ -6376,12 +6488,72 @@ /usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 445 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ +In file included from ../rak/priority_queue_default.h:42, + from core/curl_stack.h:43, + from core/poll_manager.h:40, + from core/manager.h:47, + from command_file.cc:45: +../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from ../rak/path.h:44, + from command_file.cc:40: +/usr/include/c++/13/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 member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, inlined from 'torrent::Object system_method_list_keys(const torrent::Object::string_type&)' at command_dynamic.cc:440:21: /usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/vector:72, + from /usr/include/c++/13/functional:64: +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 445 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_insert_rval(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:356:5: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 356 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/vector.tcc:372:26: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 372 | _M_realloc_insert(begin() + __n, std::move(__v)); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, + inlined from 'torrent::Object apply_download_list(const torrent::Object::list_type&)' at command_events.cc:266:25: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rpc/command.h:240, + from command_helpers.h:40, + from command_file.cc:49: +rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rpc/command.h:43: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +In file included from rpc/parse_commands.h:43, + from command_helpers.h:41: +rpc/command_map.h: At global scope: +rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ 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; @@ -6434,123 +6606,6 @@ /usr/include/c++/13/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type 'std::move_iterator' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../rak/priority_queue_default.h:42, - from ./globals.h:41, - from core/download.h:47, - from command_events.cc:50: -../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/bits/hashtable_policy.h:36, - from /usr/include/c++/13/bits/hashtable.h:35, - from /usr/include/c++/13/bits/unordered_map.h:33, - from /usr/include/c++/13/unordered_map:41, - from /usr/include/c++/13/functional:63, - from command_events.cc:39: -/usr/include/c++/13/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 /usr/include/c++/13/functional:49: -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 78 | class function_base2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from rpc/command.h:240, - from rpc/command_map.h:45, - from rpc/parse_commands.h:43, - from command_events.cc:56: -rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from core/view.h:55, - from core/view_manager.h:43, - from command_events.cc:53: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -rpc/command_map.h: At global scope: -rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -command_events.cc: In function 'torrent::Object apply_close_low_diskspace(int64_t)': -command_events.cc:225:68: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = core::Download]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 225 | while ((itr = std::find_if(itr, downloadList->end(), std::mem_fun(&core::Download::is_downloading))) - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here - 1377 | mem_fun(_Ret (_Tp::*__f)() const) - | ^~~~~~~ -../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../rak/priority_queue_default.h:113:18: required from here -../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -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 /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from ../rak/path.h:44, - from command_file.cc:40: -/usr/include/c++/13/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: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -In file included from rpc/parse_commands.h:43, - from command_helpers.h:41: -rpc/command_map.h: At global scope: -rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: -/usr/include/c++/13/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] @@ -6560,54 +6615,6 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from /usr/include/c++/13/vector:65, - from /usr/include/c++/13/functional:64: -/usr/include/c++/13/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]': -/usr/include/c++/13/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]' at /usr/include/c++/13/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]' at /usr/include/c++/13/bits/stl_uninitialized.h:373:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:603:31, - inlined from 'torrent::Object::Object(const torrent::Object&)' at /usr/include/torrent/object.h:352:60: -/usr/include/c++/13/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/vector:72, - from /usr/include/torrent/path.h:41, - from /usr/include/torrent/data/file.h:41, - from command_file.cc:41: -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 445 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/vector:72, - from /usr/include/c++/13/functional:64: -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 445 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_insert_rval(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:356:5: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 356 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/vector.tcc:372:26: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 372 | _M_realloc_insert(begin() + __n, std::move(__v)); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, - inlined from 'torrent::Object apply_f_path_components(torrent::File*)' at command_file.cc:80:21: -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, - inlined from 'torrent::Object apply_download_list(const torrent::Object::list_type&)' at command_events.cc:266:25: -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/vector:66: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'torrent::Object d_multicall(const torrent::Object::list_type&)' at command_events.cc:299:52: @@ -6620,49 +6627,6 @@ /usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_ip.o command_ip.cc -/usr/include/c++/13/bits/stl_algobase.h: In function '_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]': -/usr/include/c++/13/bits/stl_algobase.h:2064:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2064 | __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last, - | ^~~~~~~~~ -/usr/include/c++/13/bits/stl_algobase.h:2064:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]', - inlined from '_ForwardIterator std::__remove_if(_ForwardIterator, _ForwardIterator, _Predicate) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]' at /usr/include/c++/13/bits/stl_algobase.h:2139:31, - inlined from '_FIter std::remove_if(_FIter, _FIter, _Predicate) [with _FIter = __gnu_cxx::__normal_iterator >; _Predicate = rak::bind1st_t >]' at /usr/include/c++/13/bits/stl_algo.h:880:30, - inlined from 'torrent::Object d_list_remove(core::Download*, const torrent::Object&, const char*, const char*)' at command_download.cc:617:28: -/usr/include/c++/13/bits/stl_algobase.h:2117:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2117 | return __find_if(__first, __last, __pred, - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ - 2118 | std::__iterator_category(__first)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]', - inlined from '_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = __gnu_cxx::__normal_iterator >; _Predicate = rak::bind1st_t >]' at /usr/include/c++/13/bits/stl_algo.h:3923:28, - inlined from 'torrent::Object d_list_has(core::Download*, const torrent::Object&, const char*, const char*)' at command_download.cc:608:32: -/usr/include/c++/13/bits/stl_algobase.h:2117:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2117 | return __find_if(__first, __last, __pred, - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ - 2118 | std::__iterator_category(__first)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]' at /usr/include/c++/13/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]' at /usr/include/c++/13/bits/stl_uninitialized.h:373:37, - inlined from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1692:33, - inlined from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:708:23, - inlined from 'static torrent::Object torrent::Object::create_list_range(ForwardIterator, ForwardIterator) [with ForwardIterator = __gnu_cxx::__normal_iterator >]' at /usr/include/torrent/object.h:441:40, - inlined from 'torrent::Object p_call_target(const torrent::Object::list_type&)' at command_download.cc:507:84: -/usr/include/c++/13/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]' at /usr/include/c++/13/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]' at /usr/include/c++/13/bits/stl_uninitialized.h:373:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:603:31, - inlined from 'torrent::Object::Object(const torrent::Object&)' at /usr/include/torrent/object.h:352:60, - inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = torrent::Object; _Args = {const torrent::Object&}]' at /usr/include/c++/13/bits/stl_construct.h:119:7, - inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const torrent::Object*; _ForwardIterator = torrent::Object*]' at /usr/include/c++/13/bits/stl_uninitialized.h:120:21: -/usr/include/c++/13/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'torrent::Object d_multicall_filtered(const torrent::Object::list_type&)' at command_events.cc:334:52: /usr/include/c++/13/bits/stl_vector.h:1391:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 @@ -6674,58 +6638,8 @@ /usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/vector:72: -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 445 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_insert_rval(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:356:5: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 356 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/vector.tcc:372:26: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 372 | _M_realloc_insert(begin() + __n, std::move(__v)); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, - inlined from 'torrent::Object retrieve_d_custom_map(core::Download*, bool, const torrent::Object::list_type&)' at command_download.cc:305:46: -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/vector:66: -In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'torrent::Object p_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:462:52: -/usr/include/c++/13/bits/stl_vector.h:1391:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 1391 | { return _M_insert_rval(__position, std::move(__x)); } - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, - inlined from 'torrent::Object p_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:467:20: -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'torrent::Object t_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:434:52: -/usr/include/c++/13/bits/stl_vector.h:1391:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 1391 | { return _M_insert_rval(__position, std::move(__x)); } - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, - inlined from 'torrent::Object t_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:440:20: -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'torrent::Object f_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:409:52: -/usr/include/c++/13/bits/stl_vector.h:1391:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 1391 | { return _M_insert_rval(__position, std::move(__x)); } - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, - inlined from 'torrent::Object f_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:413:20: -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_ip.o command_ip.cc +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_helpers.o command_helpers.cc In file included from ../rak/priority_queue_default.h:42, from globals.h:41, from command_ip.cc:45: @@ -6748,28 +6662,6 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const torrent::Object&}; _Tp = torrent::Object; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 445 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]', - inlined from '_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = __gnu_cxx::__normal_iterator >; _Predicate = rak::bind1st_t >]' at /usr/include/c++/13/bits/stl_algo.h:3923:28, - inlined from 'torrent::Object d_list_push_back_unique(core::Download*, const torrent::Object&, const char*, const char*)' at command_download.cc:596:19: -/usr/include/c++/13/bits/stl_algobase.h:2117:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2117 | return __find_if(__first, __last, __pred, - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ - 2118 | std::__iterator_category(__first)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'torrent::Object d_list_push_back_unique(core::Download*, const torrent::Object&, const char*, const char*)' at command_download.cc:598:19: -/usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1289 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'torrent::Object d_list_push_back(core::Download*, const torrent::Object&, const char*, const char*)' at command_download.cc:586:77: -/usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1289 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from rpc/command.h:240, from command_helpers.h:40, from command_ip.cc:46: @@ -6791,7 +6683,6 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_helpers.o command_helpers.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] @@ -6801,6 +6692,20 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +In file included from /usr/include/c++/13/vector:72, + from /usr/include/torrent/path.h:41, + from /usr/include/torrent/data/file.h:41, + from command_file.cc:41: +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 445 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, + inlined from 'torrent::Object apply_f_path_components(torrent::File*)' at command_file.cc:80:21: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42, from globals.h:41, from command_helpers.cc:41: @@ -6840,6 +6745,7 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_groups.o command_groups.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] @@ -6849,7 +6755,21 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_groups.o command_groups.cc +In file included from /usr/include/c++/13/vector:65, + from /usr/include/c++/13/functional:64: +/usr/include/c++/13/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]': +/usr/include/c++/13/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]' at /usr/include/c++/13/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]' at /usr/include/c++/13/bits/stl_uninitialized.h:373:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:603:31, + inlined from 'torrent::Object::Object(const torrent::Object&)' at /usr/include/torrent/object.h:352:60: +/usr/include/c++/13/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_local.o command_local.cc In file included from ../rak/priority_queue_default.h:42, from ./globals.h:41, @@ -6892,41 +6812,6 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/vector:72, - from /usr/include/torrent/utils/log.h:42, - from command_ip.cc:42: -/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': -/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 445 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In file included from ../rak/priority_queue_default.h:42, - from ./globals.h:41, - from core/download.h:47, - from command_local.cc:53: -../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/bits/hashtable_policy.h:36, - from /usr/include/c++/13/bits/hashtable.h:35, - from /usr/include/c++/13/bits/unordered_map.h:33, - from /usr/include/c++/13/unordered_map:41, - from /usr/include/c++/13/functional:63, - from command_local.cc:40: -/usr/include/c++/13/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 member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, - inlined from 'torrent::Object apply_ipv4_filter_dump()' at command_ip.cc:391:21: -/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command_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))); @@ -6957,6 +6842,41 @@ /usr/include/c++/13/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 /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/bits/hashtable_policy.h:36, + from /usr/include/c++/13/bits/hashtable.h:35, + from /usr/include/c++/13/bits/unordered_map.h:33, + from /usr/include/c++/13/unordered_map:41, + from /usr/include/c++/13/functional:63, + from command_local.cc:40: +/usr/include/c++/13/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 /usr/include/c++/13/vector:72, + from /usr/include/torrent/utils/log.h:42, + from command_ip.cc:42: +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 445 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, + inlined from 'torrent::Object apply_ipv4_filter_dump()' at command_ip.cc:391:21: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, @@ -6977,7 +6897,6 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_logging.o command_logging.cc 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] @@ -7001,6 +6920,79 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_logging.o command_logging.cc +/usr/include/c++/13/bits/stl_algobase.h: In function '_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]': +/usr/include/c++/13/bits/stl_algobase.h:2064:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2064 | __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last, + | ^~~~~~~~~ +/usr/include/c++/13/bits/stl_algobase.h:2064:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]', + inlined from '_ForwardIterator std::__remove_if(_ForwardIterator, _ForwardIterator, _Predicate) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]' at /usr/include/c++/13/bits/stl_algobase.h:2139:31, + inlined from '_FIter std::remove_if(_FIter, _FIter, _Predicate) [with _FIter = __gnu_cxx::__normal_iterator >; _Predicate = rak::bind1st_t >]' at /usr/include/c++/13/bits/stl_algo.h:880:30, + inlined from 'torrent::Object d_list_remove(core::Download*, const torrent::Object&, const char*, const char*)' at command_download.cc:617:28: +/usr/include/c++/13/bits/stl_algobase.h:2117:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2117 | return __find_if(__first, __last, __pred, + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ + 2118 | std::__iterator_category(__first)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]', + inlined from '_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = __gnu_cxx::__normal_iterator >; _Predicate = rak::bind1st_t >]' at /usr/include/c++/13/bits/stl_algo.h:3923:28, + inlined from 'torrent::Object d_list_has(core::Download*, const torrent::Object&, const char*, const char*)' at command_download.cc:608:32: +/usr/include/c++/13/bits/stl_algobase.h:2117:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2117 | return __find_if(__first, __last, __pred, + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ + 2118 | std::__iterator_category(__first)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]' at /usr/include/c++/13/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]' at /usr/include/c++/13/bits/stl_uninitialized.h:373:37, + inlined from 'void std::vector<_Tp, _Alloc>::_M_range_initialize(_ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1692:33, + inlined from 'std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = __gnu_cxx::__normal_iterator >; = void; _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:708:23, + inlined from 'static torrent::Object torrent::Object::create_list_range(ForwardIterator, ForwardIterator) [with ForwardIterator = __gnu_cxx::__normal_iterator >]' at /usr/include/torrent/object.h:441:40, + inlined from 'torrent::Object p_call_target(const torrent::Object::list_type&)' at command_download.cc:507:84: +/usr/include/c++/13/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*]' at /usr/include/c++/13/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = torrent::Object*; _Tp = torrent::Object]' at /usr/include/c++/13/bits/stl_uninitialized.h:373:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:603:31, + inlined from 'torrent::Object::Object(const torrent::Object&)' at /usr/include/torrent/object.h:352:60, + inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = torrent::Object; _Args = {const torrent::Object&}]' at /usr/include/c++/13/bits/stl_construct.h:119:7, + inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const torrent::Object*; _ForwardIterator = torrent::Object*]' at /usr/include/c++/13/bits/stl_uninitialized.h:120:21: +/usr/include/c++/13/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/vector:72: +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 445 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_insert_rval(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:356:5: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 356 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/vector.tcc:372:26: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 372 | _M_realloc_insert(begin() + __n, std::move(__v)); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, + inlined from 'torrent::Object retrieve_d_custom_map(core::Download*, bool, const torrent::Object::list_type&)' at command_download.cc:305:46: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/vector:66: +In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'torrent::Object p_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:462:52: +/usr/include/c++/13/bits/stl_vector.h:1391:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 1391 | { return _M_insert_rval(__position, std::move(__x)); } + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, + inlined from 'torrent::Object p_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:467:20: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42, from ./globals.h:41, from core/download.h:47, @@ -7020,6 +7012,17 @@ 56 | throw torrent::internal_error("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 member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'torrent::Object t_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:434:52: +/usr/include/c++/13/bits/stl_vector.h:1391:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 1391 | { return _M_insert_rval(__position, std::move(__x)); } + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, + inlined from 'torrent::Object t_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:440:20: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, @@ -7041,6 +7044,17 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'torrent::Object f_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:409:52: +/usr/include/c++/13/bits/stl_vector.h:1391:30: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 1391 | { return _M_insert_rval(__position, std::move(__x)); } + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, + inlined from 'torrent::Object f_multicall(core::Download*, const torrent::Object::list_type&)' at command_download.cc:413:20: +/usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -7050,6 +7064,28 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +/usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const torrent::Object&}; _Tp = torrent::Object; _Alloc = std::allocator]': +/usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 445 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +In function '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred > >]', + inlined from '_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = __gnu_cxx::__normal_iterator >; _Predicate = rak::bind1st_t >]' at /usr/include/c++/13/bits/stl_algo.h:3923:28, + inlined from 'torrent::Object d_list_push_back_unique(core::Download*, const torrent::Object&, const char*, const char*)' at command_download.cc:596:19: +/usr/include/c++/13/bits/stl_algobase.h:2117:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2117 | return __find_if(__first, __last, __pred, + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ + 2118 | std::__iterator_category(__first)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'torrent::Object d_list_push_back_unique(core::Download*, const torrent::Object&, const char*, const char*)' at command_download.cc:598:19: +/usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1289 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'torrent::Object d_list_push_back(core::Download*, const torrent::Object&, const char*, const char*)' at command_download.cc:586:77: +/usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1289 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/c++/13/vector:72, from /usr/include/torrent/download/resource_manager.h:41: /usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]': @@ -7076,6 +7112,7 @@ 224 | file_print_list(++args.begin(), args.end(), output, file_print_delim_space); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_peer.o command_peer.cc +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_throttle.o command_throttle.cc In file included from ../rak/priority_queue_default.h:42, from ./globals.h:41, from core/download.h:47, @@ -7098,6 +7135,27 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ../rak/priority_queue_default.h:42, + from core/curl_stack.h:43, + from core/poll_manager.h:40, + from core/manager.h:47, + from command_throttle.cc:45: +../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from ../rak/socket_address.h:51, + from ../rak/address_info.h:47, + from command_throttle.cc:40: +/usr/include/c++/13/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: @@ -7134,28 +7192,33 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In file included from rpc/command.h:240, + from rpc/command_map.h:45, + from rpc/parse_commands.h:43, + from command_throttle.cc:48: +rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rpc/parse.h:42, + from command_throttle.cc:47: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +rpc/command_map.h: At global scope: +rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/vector:72, from /usr/include/c++/13/functional:64: /usr/include/c++/13/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const torrent::Object&}; _Tp = torrent::Object; _Alloc = std::allocator]': /usr/include/c++/13/bits/vector.tcc:445:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 445 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/vector:66: -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'torrent::Object rpc::create_object_list(const torrent::Object&, const torrent::Object&, const torrent::Object&)' at rpc/command_map.h:171:26: -/usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1289 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'torrent::Object rpc::create_object_list(const torrent::Object&, const torrent::Object&, const torrent::Object&)' at rpc/command_map.h:172:26: -/usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1289 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', - inlined from 'torrent::Object rpc::create_object_list(const torrent::Object&, const torrent::Object&, const torrent::Object&)' at rpc/command_map.h:173:26: -/usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1289 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42, from core/curl_stack.h:43, from core/poll_manager.h:40, @@ -7176,6 +7239,31 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from /usr/include/c++/13/vector:66: +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'torrent::Object rpc::create_object_list(const torrent::Object&, const torrent::Object&, const torrent::Object&)' at rpc/command_map.h:171:26: +/usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1289 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'torrent::Object rpc::create_object_list(const torrent::Object&, const torrent::Object&, const torrent::Object&)' at rpc/command_map.h:172:26: +/usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1289 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = torrent::Object; _Alloc = std::allocator]', + inlined from 'torrent::Object rpc::create_object_list(const torrent::Object&, const torrent::Object&, const torrent::Object&)' at rpc/command_map.h:173:26: +/usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1289 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../rak/priority_queue_default.h:113:18: required from here +../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/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] @@ -7215,21 +7303,23 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_throttle.o command_throttle.cc +command_throttle.cc: In function 'std::pair parse_address_range(const torrent::Object::list_type&, std::vector::const_iterator)': +command_throttle.cc:55:1: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 + 55 | parse_address_range(const torrent::Object::list_type& args, torrent::Object::list_type::const_iterator itr) { + | ^~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_tracker.o command_tracker.cc +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_scheduler.o command_scheduler.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: + from command_scheduler.cc:41: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from ../rak/socket_address.h:51, - from ../rak/address_info.h:47, - from command_throttle.cc:40: +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/vector:62, + from core/manager.h:41: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -7259,26 +7349,37 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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: + 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 rpc/parse.h:42, - from command_throttle.cc:47: +In file included from core/view.h:55, + from command_scheduler.cc:44: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ +In file included from rpc/parse_commands.h:43, + from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: +In file included from /usr/include/c++/13/bits/refwrap.h:39, + from /usr/include/c++/13/vector:68: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../rak/priority_queue_default.h:113:18: required from here +../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/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_tracker.cc:51: @@ -7322,93 +7423,8 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../rak/priority_queue_default.h:113:18: required from here -../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_scheduler.o command_scheduler.cc -command_throttle.cc: In function 'std::pair parse_address_range(const torrent::Object::list_type&, std::vector::const_iterator)': -command_throttle.cc:55:1: note: parameter passing for argument of type 'std::vector::const_iterator' changed in GCC 7.1 - 55 | parse_address_range(const torrent::Object::list_type& args, torrent::Object::list_type::const_iterator itr) { - | ^~~~~~~~~~~~~~~~~~~ -In file included from ../rak/priority_queue_default.h:42, - from core/curl_stack.h:43, - from core/poll_manager.h:40, - from core/manager.h:47, - from command_scheduler.cc:41: -../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/vector:62, - from core/manager.h:41: -/usr/include/c++/13/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_scheduler.cc:49: -rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from core/view.h:55, - from command_scheduler.cc:44: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -In file included from rpc/parse_commands.h:43, - from command_helpers.h:41: -rpc/command_map.h: At global scope: -rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/refwrap.h:39, - from /usr/include/c++/13/vector:68: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../rak/priority_queue_default.h:113:18: required from here -../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o command_ui.o command_ui.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o control.o control.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 /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/list:62, - from /usr/include/torrent/connection_manager.h:42, - from control.cc:41: -/usr/include/c++/13/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> { @@ -7524,6 +7540,49 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ../rak/priority_queue_default.h:42, + from core/curl_stack.h:43, + from core/poll_manager.h:40, + from core/manager.h:47, + from control.cc:44: +../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/list:62, + from /usr/include/torrent/connection_manager.h:42, + from control.cc:41: +/usr/include/c++/13/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' +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o globals.o globals.cc +In file included from rpc/command.h:240, + from command_helpers.h:40, + from command_ui.cc:57: +rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from core/view.h:55, + from core/view_manager.h:43, + from command_ui.cc:50: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +In file included from rpc/parse_commands.h:43, + from command_helpers.h:41: +rpc/command_map.h: At global scope: +rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from display/window.h:41, from control.cc:51: ../rak/functional.h: At global scope: @@ -7615,6 +7674,22 @@ /usr/include/c++/13/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 globals.cc:39: +../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/bits/hashtable_policy.h:36, + from /usr/include/c++/13/bits/hashtable.h:35, + from /usr/include/c++/13/bits/unordered_map.h:33, + from /usr/include/c++/13/unordered_map:41, + from /usr/include/c++/13/functional:63, + from ../rak/priority_queue_default.h:40: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, @@ -7636,29 +7711,6 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from rpc/command.h:240, - from command_helpers.h:40, - from command_ui.cc:57: -rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from core/view.h:55, - from core/view_manager.h:43, - from command_ui.cc:50: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -In file included from rpc/parse_commands.h:43, - from command_helpers.h:41: -rpc/command_map.h: At global scope: -rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o globals.o globals.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] @@ -7668,47 +7720,32 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: +In file included from /usr/include/c++/13/bits/stl_function.h:1438, + from /usr/include/c++/13/functional:49: /usr/include/c++/13/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 globals.cc:39: -../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/bits/hashtable_policy.h:36, - from /usr/include/c++/13/bits/hashtable.h:35, - from /usr/include/c++/13/bits/unordered_map.h:33, - from /usr/include/c++/13/unordered_map:41, - from /usr/include/c++/13/functional:63, - from ../rak/priority_queue_default.h:40: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438, - from /usr/include/c++/13/functional:49: +In file included from /usr/include/c++/13/bits/stl_function.h:1438: /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o option_parser.o option_parser.cc +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o signal_handler.o signal_handler.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; @@ -7731,7 +7768,6 @@ /usr/include/c++/13/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o signal_handler.o signal_handler.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o thread_base.o thread_base.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o thread_worker.o thread_worker.cc In file included from ../rak/priority_queue_default.h:42, @@ -7752,11 +7788,6 @@ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42, from thread_base.h:44, from thread_worker.h:40, @@ -7781,6 +7812,11 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -7883,7 +7919,7 @@ ar cru libsub_root.a command_download.o command_dynamic.o command_events.o command_file.o command_ip.o command_helpers.o command_groups.o command_local.o command_logging.o command_network.o command_peer.o command_throttle.o command_tracker.o command_scheduler.o command_ui.o control.o globals.o option_parser.o signal_handler.o thread_base.o thread_worker.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libsub_root.a -/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -Wl,-z,relro -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -ltinfo -lcppunit -lcurl -ltorrent -L/usr/lib/arm-linux-gnueabihf -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -Wl,-z,relro -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -ltinfo -lcppunit -lcurl -ltorrent -L/usr/lib/arm-linux-gnueabihf -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util libtool: link: g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -Wl,-z -Wl,relro -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -ltinfo -lcppunit -lcurl -ltorrent -L/usr/lib/arm-linux-gnueabihf -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util make[4]: Leaving directory '/build/reproducible-path/rtorrent-0.9.8/src' make[3]: Leaving directory '/build/reproducible-path/rtorrent-0.9.8/src' @@ -7896,7 +7932,7 @@ make[2]: Leaving directory '/build/reproducible-path/rtorrent-0.9.8' make[1]: Leaving directory '/build/reproducible-path/rtorrent-0.9.8' dh_auto_test - make -j3 check "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 + make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/rtorrent-0.9.8' Making check in doc make[2]: Entering directory '/build/reproducible-path/rtorrent-0.9.8/doc' @@ -7940,6 +7976,7 @@ g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o rpc/rtorrentTest-command_test.o `test -f 'rpc/command_test.cc' || echo './'`rpc/command_test.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o rpc/rtorrentTest-command_map_test.o `test -f 'rpc/command_map_test.cc' || echo './'`rpc/command_map_test.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o rpc/rtorrentTest-command_slot_test.o `test -f 'rpc/command_slot_test.cc' || echo './'`rpc/command_slot_test.cc +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o rpc/rtorrentTest-object_storage_test.o `test -f 'rpc/object_storage_test.cc' || echo './'`rpc/object_storage_test.cc In file included from ../src/rpc/command.h:240, from ../src/command_helpers.h:40, from rpc/command_map_test.cc:3: @@ -7963,6 +8000,31 @@ 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/rpc/command.h:240, + from ../src/rpc/command_map.h:45, + from rpc/command_slot_test.cc:5: +../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +../src/rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rpc/command_slot_test.cc:4: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +../src/rpc/command_map.h: At global scope: +../src/rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/sstream:40, + from rpc/command_slot_test.cc:3: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from ../src/rpc/command.h:240, from rpc/command_test.h:3, from rpc/command_test.cc:3: ../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': @@ -7988,30 +8050,18 @@ 1389 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ In file included from ../src/rpc/command.h:240, - from ../src/rpc/command_map.h:45, - from rpc/command_slot_test.cc:5: + from ../src/rpc/object_storage.h:49, + from rpc/object_storage_test.h:3, + from rpc/object_storage_test.cc:3: ../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ../src/rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rpc/command_slot_test.cc:4: +In file included from ../src/rpc/object_storage.h:46: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ -../src/rpc/command_map.h: At global scope: -../src/rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/sstream:40, - from rpc/command_slot_test.cc:3: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o src/rtorrentTest-command_dynamic_test.o `test -f 'src/command_dynamic_test.cc' || echo './'`src/command_dynamic_test.cc In file included from /usr/include/c++/13/vector:72, from /usr/include/c++/13/functional:64, from /usr/include/cppunit/TestCaller.h:7: @@ -8037,8 +8087,6 @@ /usr/include/c++/13/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o rpc/rtorrentTest-object_storage_test.o `test -f 'rpc/object_storage_test.cc' || echo './'`rpc/object_storage_test.cc -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -c -o src/rtorrentTest-command_dynamic_test.o `test -f 'src/command_dynamic_test.cc' || echo './'`src/command_dynamic_test.cc In member function 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {torrent::Object}; _Tp = torrent::Object; _Alloc = std::allocator]', inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = torrent::Object; _Alloc = std::allocator]' at /usr/include/c++/13/bits/stl_vector.h:1296:21, inlined from 'void CommandTest::test_stack_double()' at rpc/command_test.cc:61:17: @@ -8058,18 +8106,6 @@ 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/rpc/command.h:240, - from ../src/rpc/object_storage.h:49, - from rpc/object_storage_test.h:3, - from rpc/object_storage_test.cc:3: -../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -../src/rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../src/rpc/object_storage.h:46: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -In file included from ../src/rpc/command.h:240, from ../src/rpc/command_map.h:45, from ../src/rpc/parse_commands.h:43, from src/command_dynamic_test.cc:7: @@ -8239,7 +8275,7 @@ /usr/include/c++/13/bits/stl_vector.h:1289:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1289 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -lcppunit -ldl -Wl,-z,relro -o rtorrentTest rpc/rtorrentTest-command_test.o rpc/rtorrentTest-command_map_test.o rpc/rtorrentTest-command_slot_test.o rpc/rtorrentTest-object_storage_test.o src/rtorrentTest-command_dynamic_test.o rtorrentTest-main.o ../src/libsub_root.a ../src/ui/libsub_ui.a ../src/core/libsub_core.a ../src/display/libsub_display.a ../src/input/libsub_input.a ../src/rpc/libsub_rpc.a ../src/utils/libsub_utils.a -lncursesw -ltinfo -lcppunit -lcurl -ltorrent -L/usr/lib/arm-linux-gnueabihf -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -lcppunit -ldl -Wl,-z,relro -o rtorrentTest rpc/rtorrentTest-command_test.o rpc/rtorrentTest-command_map_test.o rpc/rtorrentTest-command_slot_test.o rpc/rtorrentTest-object_storage_test.o src/rtorrentTest-command_dynamic_test.o rtorrentTest-main.o ../src/libsub_root.a ../src/ui/libsub_ui.a ../src/core/libsub_core.a ../src/display/libsub_display.a ../src/input/libsub_input.a ../src/rpc/libsub_rpc.a ../src/utils/libsub_utils.a -lncursesw -ltinfo -lcppunit -lcurl -ltorrent -L/usr/lib/arm-linux-gnueabihf -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util libtool: link: g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -g -DDEBUG -Wall -I/usr/include -I/usr/include/arm-linux-gnueabihf -Wl,-z -Wl,relro -o rtorrentTest rpc/rtorrentTest-command_test.o rpc/rtorrentTest-command_map_test.o rpc/rtorrentTest-command_slot_test.o rpc/rtorrentTest-object_storage_test.o src/rtorrentTest-command_dynamic_test.o rtorrentTest-main.o -ldl ../src/libsub_root.a ../src/ui/libsub_ui.a ../src/core/libsub_core.a ../src/display/libsub_display.a ../src/input/libsub_input.a ../src/rpc/libsub_rpc.a ../src/utils/libsub_utils.a -lncursesw -ltinfo -lcppunit -lcurl -ltorrent -L/usr/lib/arm-linux-gnueabihf -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util make[3]: Leaving directory '/build/reproducible-path/rtorrent-0.9.8/test' make check-TESTS @@ -8322,7 +8358,7 @@ make[3]: Entering directory '/build/reproducible-path/rtorrent-0.9.8/src' make[4]: Entering directory '/build/reproducible-path/rtorrent-0.9.8/src' /usr/bin/mkdir -p '/build/reproducible-path/rtorrent-0.9.8/debian/rtorrent/usr/bin' - /bin/bash ../libtool --mode=install /usr/bin/install -c rtorrent '/build/reproducible-path/rtorrent-0.9.8/debian/rtorrent/usr/bin' + /bin/sh ../libtool --mode=install /usr/bin/install -c rtorrent '/build/reproducible-path/rtorrent-0.9.8/debian/rtorrent/usr/bin' libtool: install: /usr/bin/install -c rtorrent /build/reproducible-path/rtorrent-0.9.8/debian/rtorrent/usr/bin/rtorrent make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/reproducible-path/rtorrent-0.9.8/src' @@ -8360,8 +8396,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'rtorrent' in '../rtorrent_0.9.8-1_armhf.deb'. dpkg-deb: building package 'rtorrent-dbgsym' in '../rtorrent-dbgsym_0.9.8-1_armhf.deb'. +dpkg-deb: building package 'rtorrent' in '../rtorrent_0.9.8-1_armhf.deb'. dpkg-genbuildinfo --build=binary -O../rtorrent_0.9.8-1_armhf.buildinfo dpkg-genchanges --build=binary -O../rtorrent_0.9.8-1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -8369,12 +8405,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/7173/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/7173/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/26396 and its subdirectories -I: Current time: Mon Apr 22 22:19:21 -12 2024 -I: pbuilder-time-stamp: 1713867561 +I: removing directory /srv/workspace/pbuilder/7173 and its subdirectories +I: Current time: Wed Apr 24 00:29:20 +14 2024 +I: pbuilder-time-stamp: 1713868160