Diff of the two buildlogs: -- --- b1/build.log 2024-09-06 02:58:13.739179201 +0000 +++ b2/build.log 2024-09-06 03:00:24.981623966 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Sep 5 14:56:23 -12 2024 -I: pbuilder-time-stamp: 1725591383 +I: Current time: Thu Oct 9 23:21:16 +14 2025 +I: pbuilder-time-stamp: 1760001676 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -25,51 +25,83 @@ dpkg-source: info: unpacking libtorrent_0.13.8-2.1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/560308/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/232373/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-amd64. +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 Oct 9 09:21 /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/232373/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/232373/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='amd64' - DEBIAN_FRONTEND='noninteractive' + 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]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='4b6b3e1359be4479b47b8e7af387c61c' - 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='560308' - PS1='# ' - PS2='> ' + INVOCATION_ID=8d9d4b87212b43979ab4fd0b092a4fdc + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=232373 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.q0WQ3yEn/pbuilderrc_Pjdl --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.q0WQ3yEn/b1 --logfile b1/build.log libtorrent_0.13.8-2.1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.q0WQ3yEn/pbuilderrc_CEjC --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.q0WQ3yEn/b2 --logfile b2/build.log libtorrent_0.13.8-2.1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom01-amd64 6.1.0-25-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.10.6+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.6-1~bpo12+1 (2024-08-26) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/560308/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/232373/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -187,7 +219,7 @@ Get: 68 http://deb.debian.org/debian unstable/main amd64 libzstd-dev amd64 1.5.6+dfsg-1 [368 kB] Get: 69 http://deb.debian.org/debian unstable/main amd64 libcurl4-openssl-dev amd64 8.9.1-2 [573 kB] Get: 70 http://deb.debian.org/debian unstable/main amd64 libsigc++-2.0-dev amd64 2.12.1-2 [72.2 kB] -Fetched 33.6 MB in 0s (122 MB/s) +Fetched 33.6 MB in 2s (19.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19769 files and directories currently installed.) @@ -482,7 +514,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/libtorrent-0.13.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 > ../libtorrent_0.13.8-2.1_source.changes +I: user script /srv/workspace/pbuilder/232373/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/232373/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/libtorrent-0.13.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 > ../libtorrent_0.13.8-2.1_source.changes dpkg-buildpackage: info: source package libtorrent dpkg-buildpackage: info: source version 0.13.8-2.1 dpkg-buildpackage: info: source distribution unstable @@ -859,26 +895,26 @@ make[4]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src/torrent' Making all in data make[5]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src/torrent/data' -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o block.lo block.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o block_list.lo block_list.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk_utils.lo chunk_utils.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o download_data.lo download_data.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o file.lo file.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o file_list.lo file_list.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o file_list_iterator.lo file_list_iterator.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o file_manager.lo file_manager.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o file_utils.lo file_utils.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o transfer_list.lo transfer_list.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c transfer_list.cc -fPIC -DPIC -o .libs/transfer_list.o +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o block.lo block.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o block_list.lo block_list.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk_utils.lo chunk_utils.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o download_data.lo download_data.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o file.lo file.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o file_list.lo file_list.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o file_list_iterator.lo file_list_iterator.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o file_manager.lo file_manager.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o file_utils.lo file_utils.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o transfer_list.lo transfer_list.cc +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c download_data.cc -fPIC -DPIC -o .libs/download_data.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c file_list_iterator.cc -fPIC -DPIC -o .libs/file_list_iterator.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c file.cc -fPIC -DPIC -o .libs/file.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c block.cc -fPIC -DPIC -o .libs/block.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c chunk_utils.cc -fPIC -DPIC -o .libs/chunk_utils.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c file_list.cc -fPIC -DPIC -o .libs/file_list.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c download_data.cc -fPIC -DPIC -o .libs/download_data.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c block_list.cc -fPIC -DPIC -o .libs/block_list.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c file_utils.cc -fPIC -DPIC -o .libs/file_utils.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c file.cc -fPIC -DPIC -o .libs/file.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c file_manager.cc -fPIC -DPIC -o .libs/file_manager.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c transfer_list.cc -fPIC -DPIC -o .libs/transfer_list.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c file_utils.cc -fPIC -DPIC -o .libs/file_utils.o In file included from block.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 { @@ -1062,24 +1098,80 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In file included from ./../../torrent/utils/ranges.h:44, + from ./../../torrent/data/download_data.h:45, + from ./../../torrent/data/file_list.h:46, + from file_list_iterator.h:42, + from file_list_iterator.cc:42: +../../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 174 | struct less2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/string:49, + from ./../../torrent/exceptions.h:47, + from file_list_iterator.cc:39: +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 273 | struct invert : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 213 | struct greater2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 279 | struct on_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 299 | struct on2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ ../../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +../../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 320 | struct mem_ptr_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ ../../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +../../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 341 | struct mem_ref_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ ../../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +../../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 352 | struct const_mem_ref_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ ../../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -1092,12 +1184,30 @@ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +../../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 395 | struct call_delete : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ ../../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +../../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 408 | class bind1st_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 433 | class bind2nd_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/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 { | ^~~~~~~~~~~~~~ @@ -1122,17 +1232,37 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +../../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 551 | class mem_fun2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +./../../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': +./../../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here + 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) + | ^~~~~~~ +./../../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from ./../../torrent/utils/ranges.h:44, from ./../../torrent/data/download_data.h:45, from ./../../torrent/data/file_list.h:46, - from file_list_iterator.h:42, - from file_list_iterator.cc:42: + from file_utils.h:41, + from file_utils.cc:43: ../../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, - from ./../../torrent/exceptions.h:47, - from file_list_iterator.cc:39: + from ./../exceptions.h:47, + from file_utils.cc:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -1196,61 +1326,22 @@ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from ../../../rak/priority_queue_default.h:42, + from ./../../globals.h:41, + from file.cc:48: +../../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ ../../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from block_list.cc:42: -block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': -block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' -block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' -block_list.cc: In member function 'void torrent::BlockList::do_all_failed()': -block_list.cc:87:49: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 87 | std::for_each(begin(), end(), std::mem_fun_ref(&Block::failed_leader)); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/functional:49, - from block_list.cc:40: -/usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here - 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) - | ^~~~~~~~~~~ -block_list.cc:88:49: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 88 | std::for_each(begin(), end(), std::mem_fun_ref(&Block::retry_transfer)); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here - 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) - | ^~~~~~~~~~~ -./../../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': -./../../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here - 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) - | ^~~~~~~ -./../../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/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 ./../../manager.h:42, - from chunk_utils.cc:43: -../../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_algobase.h:65, - from /usr/include/c++/14/vector:62, - from chunk_utils.h:40, - from chunk_utils.cc:39: +In file included from /usr/include/c++/14/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/14/string:47, + from ../../../rak/file_stat.h:40, + from file.cc:40: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -1281,33 +1372,20 @@ /usr/include/c++/14/bits/stl_function.h:1150:5: note: declared here 1150 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ -In file included from ./../../download/download_main.h:41, - from ./../../download/download_wrapper.h:41, - from chunk_utils.cc:46: -../../../rak/functional.h: At global scope: -../../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 174 | struct less2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/refwrap.h:39, - from /usr/include/c++/14/vector:68: -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 213 | struct greater2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 273 | struct invert : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/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 { - | ^~~~~~~~~~~~~~ +./../../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': +./../../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here + 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) + | ^~~~~~~ +./../../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from transfer_list.cc:49: block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] @@ -1318,57 +1396,42 @@ 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 299 | struct on2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 320 | struct mem_ptr_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 341 | struct mem_ref_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 352 | struct const_mem_ref_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 395 | struct call_delete : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 408 | class bind1st_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 433 | class bind2nd_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 551 | class mem_fun2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ +In file included from ../../../rak/priority_queue_default.h:42, + from ./../../manager.h:42, + from file_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++/14/bits/stl_algobase.h:65, + from /usr/include/c++/14/algorithm:60, + from file_manager.cc:39: +/usr/include/c++/14/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' +transfer_list.cc: In destructor 'torrent::TransferList::~TransferList()': +transfer_list.cc:66:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 66 | throw internal_error("TransferList::~TransferList() called on an non-empty object"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +transfer_list.cc:66:5: note: in C++11 destructors default to 'noexcept' +transfer_list.cc: In member function 'std::vector::iterator torrent::TransferList::find(uint32_t)': +transfer_list.cc:71:69: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::BlockList]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 71 | return std::find_if(begin(), end(), rak::equal(index, std::mem_fun(&BlockList::index))); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here + 1374 | mem_fun(_Ret (_Tp::*__f)() const) + | ^~~~~~~ +transfer_list.cc: In member function 'std::vector::const_iterator torrent::TransferList::find(uint32_t) const': +transfer_list.cc:76:69: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::BlockList]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 76 | return std::find_if(begin(), end(), rak::equal(index, std::mem_fun(&BlockList::index))); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here + 1374 | mem_fun(_Ret (_Tp::*__f)() const) + | ^~~~~~~ In file included from file_list.cc:50: ../../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { @@ -1444,25 +1507,20 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -transfer_list.cc: In destructor 'torrent::TransferList::~TransferList()': -transfer_list.cc:66:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 66 | throw internal_error("TransferList::~TransferList() called on an non-empty object"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -transfer_list.cc:66:5: note: in C++11 destructors default to 'noexcept' -transfer_list.cc: In member function 'std::vector::iterator torrent::TransferList::find(uint32_t)': -transfer_list.cc:71:69: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::BlockList]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 71 | return std::find_if(begin(), end(), rak::equal(index, std::mem_fun(&BlockList::index))); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here - 1374 | mem_fun(_Ret (_Tp::*__f)() const) - | ^~~~~~~ -transfer_list.cc: In member function 'std::vector::const_iterator torrent::TransferList::find(uint32_t) const': -transfer_list.cc:76:69: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::BlockList]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 76 | return std::find_if(begin(), end(), rak::equal(index, std::mem_fun(&BlockList::index))); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here - 1374 | mem_fun(_Ret (_Tp::*__f)() const) - | ^~~~~~~ +transfer_list.cc: In member function 'void torrent::TransferList::hash_succeeded(uint32_t, torrent::Chunk*)': +transfer_list.cc:128:55: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 128 | std::mem_fun_ref(&Block::is_finished)) != (*blockListItr)->size()) + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here + 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) + | ^~~~~~~~~~~ +transfer_list.cc: In member function 'void torrent::TransferList::hash_failed(uint32_t, torrent::Chunk*)': +transfer_list.cc:177:105: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 177 | if ((Block::size_type)std::count_if((*blockListItr)->begin(), (*blockListItr)->end(), std::mem_fun_ref(&Block::is_finished)) != (*blockListItr)->size()) + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here + 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) + | ^~~~~~~~~~~ In file included from file_list.cc:52: ./../../data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': ./../../data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] @@ -1471,22 +1529,116 @@ /usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ +file.cc: In destructor 'torrent::File::~File()': +file.cc:80:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 80 | throw internal_error("File::~File() called on an open file."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../../data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +file.cc:80:5: note: in C++11 destructors default to 'noexcept' In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +file_manager.cc: In destructor 'torrent::FileManager::~FileManager()': +file_manager.cc:58:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 58 | throw internal_error("FileManager::~FileManager() called but empty() != true."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +file_manager.cc:58: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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435, + from /usr/include/c++/14/string:49: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +In file included from block_list.cc:42: +block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': +block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' +block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +block_transfer.h:132: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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435, + from /usr/include/c++/14/string:49, + from ./../../data/socket_file.h:40, + from file_manager.cc:41: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +block_list.cc: In member function 'void torrent::BlockList::do_all_failed()': +block_list.cc:87:49: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 87 | std::for_each(begin(), end(), std::mem_fun_ref(&Block::failed_leader)); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/functional:49, + from block_list.cc:40: +/usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here + 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) + | ^~~~~~~~~~~ +block_list.cc:88:49: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 88 | std::for_each(begin(), end(), std::mem_fun_ref(&Block::retry_transfer)); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here + 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) + | ^~~~~~~~~~~ In file included from ../../../rak/priority_queue_default.h:42, from ./../../manager.h:42, - from file_manager.cc:46: + from chunk_utils.cc:43: +../../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_algobase.h:65, + from /usr/include/c++/14/vector:62, + from chunk_utils.h:40, + from chunk_utils.cc:39: +/usr/include/c++/14/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 file_list.cc:61: +file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': +file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here + 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) + | ^~~~~~~ +file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/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 ./../../manager.h:42, + from file_list.cc:63: +../../../rak/priority_queue.h: At global scope: ../../../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++/14/bits/stl_algobase.h:65, from /usr/include/c++/14/algorithm:60, - from file_manager.cc:39: + from file_list.cc:41: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -1495,36 +1647,39 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -transfer_list.cc: In member function 'void torrent::TransferList::hash_succeeded(uint32_t, torrent::Chunk*)': -transfer_list.cc:128:55: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 128 | std::mem_fun_ref(&Block::is_finished)) != (*blockListItr)->size()) - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here - 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) - | ^~~~~~~~~~~ -transfer_list.cc: In member function 'void torrent::TransferList::hash_failed(uint32_t, torrent::Chunk*)': -transfer_list.cc:177:105: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 177 | if ((Block::size_type)std::count_if((*blockListItr)->begin(), (*blockListItr)->end(), std::mem_fun_ref(&Block::is_finished)) != (*blockListItr)->size()) - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here - 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) - | ^~~~~~~~~~~ -file_manager.cc: In destructor 'torrent::FileManager::~FileManager()': -file_manager.cc:58:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 58 | throw internal_error("FileManager::~FileManager() called but empty() != true."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -file_manager.cc:58:5: note: in C++11 destructors default to 'noexcept' -In file included from ./../../torrent/utils/ranges.h:44, - from ./../../torrent/data/download_data.h:45, - from ./../../torrent/data/file_list.h:46, - from file_utils.h:41, - from file_utils.cc:43: +In file included from ./../../protocol/peer_chunks.h:41, + from ./../../protocol/peer_connection_base.h:48, + from block.cc:44: +../../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': +../../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] + 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_algobase.h:64, + from /usr/include/c++/14/algorithm:60, + from block.cc:39: +/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here + 284 | struct pair + | ^~~~ +In file included from ./../../protocol/request_list.h:42, + from ./../../protocol/peer_connection_base.h:50: +./../../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': +./../../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' +./../../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' +In file included from ./../../download/download_main.h:41, + from ./../../download/download_wrapper.h:41, + from chunk_utils.cc:46: +../../../rak/functional.h: At global scope: ../../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:49, - from ./../exceptions.h:47, - from file_utils.cc:41: +In file included from /usr/include/c++/14/bits/refwrap.h:39, + from /usr/include/c++/14/vector:68: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -1594,116 +1749,6 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from ./../../download/available_list.h:45, - from ./../../download/download_main.h:48: -./../../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 62 | struct add_address : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -In file included from file_list.cc:61: -file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': -file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here - 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) - | ^~~~~~~ -file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -./../../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': -./../../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here - 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) 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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -./../../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435, - from /usr/include/c++/14/string:49, - from ./../../data/socket_file.h:40, - from file_manager.cc:41: -/usr/include/c++/14/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 ./../../manager.h:42, - from file_list.cc:63: -../../../rak/priority_queue.h: At global scope: -../../../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++/14/bits/stl_algobase.h:65, - from /usr/include/c++/14/algorithm:60, - from file_list.cc:41: -/usr/include/c++/14/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 ./../../protocol/peer_chunks.h:41, - from ./../../protocol/peer_connection_base.h:48, - from block.cc:44: -../../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': -../../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] - 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_algobase.h:64, - from /usr/include/c++/14/algorithm:60, - from block.cc:39: -/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here - 284 | struct pair - | ^~~~ -In file included from ../../../rak/priority_queue_default.h:42, - from ./../../globals.h:41, - from file.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++/14/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/14/string:47, - from ../../../rak/file_stat.h:40, - from file.cc:40: -/usr/include/c++/14/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 ./../../protocol/request_list.h:42, - from ./../../protocol/peer_connection_base.h:50: -./../../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': -./../../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./../../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' -./../../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./../../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./../../globals.h:41, from ./../../protocol/request_list.h:46: ../../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': @@ -1711,30 +1756,23 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -file.cc: In destructor 'torrent::File::~File()': -file.cc:80:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 80 | throw internal_error("File::~File() called on an open file."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -file.cc:80:5: note: in C++11 destructors default to 'noexcept' -In file included from ./../../download/download_main.h:52: -./../../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': -./../../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here - 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) - | ^~~~~~~ -./../../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ +block.cc: In destructor 'torrent::Block::~Block()': +block.cc:56:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw internal_error("Block dtor with 'm_state != STATE_INCOMPLETE && m_state != STATE_COMPLETED'"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +block.cc:56:5: note: in C++11 destructors default to 'noexcept' +block.cc:60:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 60 | throw internal_error("Block dtor with 'm_state == STATE_COMPLETED && m_leader == NULL'"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +block.cc:60:7: note: in C++11 destructors default to 'noexcept' file_list.cc: In member function 'torrent::Chunk* torrent::FileList::create_chunk(uint64_t, uint32_t, int)': file_list.cc:607:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 607 | std::auto_ptr chunk(new Chunk); | ^~~~~~~~ +block.cc:75:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 75 | throw internal_error("Block::clear() m_stalled != 0."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +block.cc:75:5: note: in C++11 destructors default to 'noexcept' In file included from /usr/include/c++/14/memory:78, from file_list.cc:45: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here @@ -1771,19 +1809,6 @@ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ -block.cc: In destructor 'torrent::Block::~Block()': -block.cc:56:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw internal_error("Block dtor with 'm_state != STATE_INCOMPLETE && m_state != STATE_COMPLETED'"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -block.cc:56:5: note: in C++11 destructors default to 'noexcept' -block.cc:60:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 60 | throw internal_error("Block dtor with 'm_state == STATE_COMPLETED && m_leader == NULL'"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -block.cc:60:7: note: in C++11 destructors default to 'noexcept' -block.cc:75:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 75 | throw internal_error("Block::clear() m_stalled != 0."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -block.cc:75: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 113 | if (queue->find(item) != queue->end()) @@ -1791,18 +1816,29 @@ ../../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435, - from /usr/include/c++/14/string:49: /usr/include/c++/14/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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from ./../../download/available_list.h:45, + from ./../../download/download_main.h:48: +./../../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 62 | struct add_address : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from ./../../download/download_main.h:52: +./../../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': +./../../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here + 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) + | ^~~~~~~ +./../../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ @@ -1830,21 +1866,21 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -/bin/bash ../../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_torrentdata.la block.lo block_list.lo chunk_utils.lo download_data.lo file.lo file_list.lo file_list_iterator.lo file_manager.lo file_utils.lo transfer_list.lo -lcppunit -lz -lcrypto +/bin/sh ../../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_torrentdata.la block.lo block_list.lo chunk_utils.lo download_data.lo file.lo file_list.lo file_list_iterator.lo file_manager.lo file_utils.lo transfer_list.lo -lcppunit -lz -lcrypto libtool: link: ar cr .libs/libsub_torrentdata.a .libs/block.o .libs/block_list.o .libs/chunk_utils.o .libs/download_data.o .libs/file.o .libs/file_list.o .libs/file_list_iterator.o .libs/file_manager.o .libs/file_utils.o .libs/transfer_list.o libtool: link: ranlib .libs/libsub_torrentdata.a libtool: link: ( cd ".libs" && rm -f "libsub_torrentdata.la" && ln -s "../libsub_torrentdata.la" "libsub_torrentdata.la" ) make[5]: Leaving directory '/build/reproducible-path/libtorrent-0.13.8/src/torrent/data' Making all in download make[5]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src/torrent/download' -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o choke_group.lo choke_group.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o choke_queue.lo choke_queue.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o download_manager.lo download_manager.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o resource_manager.lo resource_manager.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c choke_queue.cc -fPIC -DPIC -o .libs/choke_queue.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c download_manager.cc -fPIC -DPIC -o .libs/download_manager.o +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o choke_group.lo choke_group.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o choke_queue.lo choke_queue.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o download_manager.lo download_manager.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o resource_manager.lo resource_manager.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c choke_group.cc -fPIC -DPIC -o .libs/choke_group.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c resource_manager.cc -fPIC -DPIC -o .libs/resource_manager.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c download_manager.cc -fPIC -DPIC -o .libs/download_manager.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c choke_queue.cc -fPIC -DPIC -o .libs/choke_queue.o In file included from download_manager.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 { @@ -2170,13 +2206,14 @@ | ^~~~~~~~~~~~~~~ In file included from ../../../rak/priority_queue_default.h:42, from ./../../globals.h:41, - from ./../../download/download_main.h:43: + from ./../../download/download_main.h:43, + from resource_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++/14/bits/stl_algobase.h:65, from /usr/include/c++/14/algorithm:60, - from choke_group.cc:39: + from resource_manager.cc:39: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -2187,14 +2224,13 @@ ../../../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/download_main.h:43, - from resource_manager.cc:49: + from ./../../download/download_main.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++/14/bits/stl_algobase.h:65, from /usr/include/c++/14/algorithm:60, - from resource_manager.cc:39: + from choke_group.cc:39: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -2276,21 +2312,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 ./../../download/download_main.h:52: -./../../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': -./../../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here - 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) - | ^~~~~~~ -./../../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ download_manager.cc: In member function 'torrent::DownloadManager::iterator torrent::DownloadManager::find(const std::string&)': download_manager.cc:78:70: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = torrent::DownloadInfo*; _Tp = torrent::DownloadWrapper]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 78 | rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); @@ -2382,6 +2403,21 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +In file included from ./../../download/download_main.h:52: +./../../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': +./../../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here + 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) + | ^~~~~~~ +./../../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ choke_queue.cc: In destructor 'torrent::choke_queue::~choke_queue()': choke_queue.cc:76:5: warning: 'throw' will always call 'terminate' [-Wterminate] 76 | throw internal_error("choke_queue::~choke_queue() called but m_currentlyUnchoked != 0."); @@ -2391,16 +2427,6 @@ 79 | throw internal_error("choke_queue::~choke_queue() called but m_currentlyQueued != 0."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ choke_queue.cc:79: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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from ./../../protocol/peer_chunks.h:41, from ./../../protocol/peer_connection_base.h:48, from resource_manager.cc:50: @@ -2412,6 +2438,16 @@ /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ +../../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../../rak/priority_queue_default.h:113:18: required from here + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from ./../../protocol/request_list.h:42, from ./../../protocol/peer_connection_base.h:50: ./../../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': @@ -2442,34 +2478,34 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -/bin/bash ../../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_torrentdownload.la choke_group.lo choke_queue.lo download_manager.lo resource_manager.lo -lcppunit -lz -lcrypto +/bin/sh ../../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_torrentdownload.la choke_group.lo choke_queue.lo download_manager.lo resource_manager.lo -lcppunit -lz -lcrypto libtool: link: ar cr .libs/libsub_torrentdownload.a .libs/choke_group.o .libs/choke_queue.o .libs/download_manager.o .libs/resource_manager.o libtool: link: ranlib .libs/libsub_torrentdownload.a libtool: link: ( cd ".libs" && rm -f "libsub_torrentdownload.la" && ln -s "../libsub_torrentdownload.la" "libsub_torrentdownload.la" ) make[5]: Leaving directory '/build/reproducible-path/libtorrent-0.13.8/src/torrent/download' Making all in net make[5]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src/torrent/net' -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o socket_address_key.lo socket_address_key.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o socket_address_key.lo socket_address_key.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c socket_address_key.cc -fPIC -DPIC -o .libs/socket_address_key.o -/bin/bash ../../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_torrentnet.la socket_address_key.lo -lcppunit -lz -lcrypto +/bin/sh ../../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_torrentnet.la socket_address_key.lo -lcppunit -lz -lcrypto libtool: link: ar cr .libs/libsub_torrentnet.a .libs/socket_address_key.o libtool: link: ranlib .libs/libsub_torrentnet.a libtool: link: ( cd ".libs" && rm -f "libsub_torrentnet.la" && ln -s "../libsub_torrentnet.la" "libsub_torrentnet.la" ) make[5]: Leaving directory '/build/reproducible-path/libtorrent-0.13.8/src/torrent/net' Making all in peer make[5]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src/torrent/peer' -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o client_info.lo client_info.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o client_list.lo client_list.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o connection_list.lo connection_list.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o peer.lo peer.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o peer_info.lo peer_info.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o peer_list.lo peer_list.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c client_list.cc -fPIC -DPIC -o .libs/client_list.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c client_info.cc -fPIC -DPIC -o .libs/client_info.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c peer_list.cc -fPIC -DPIC -o .libs/peer_list.o +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o client_info.lo client_info.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o client_list.lo client_list.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o connection_list.lo connection_list.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o peer.lo peer.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o peer_info.lo peer_info.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o peer_list.lo peer_list.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c peer_info.cc -fPIC -DPIC -o .libs/peer_info.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c peer.cc -fPIC -DPIC -o .libs/peer.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c connection_list.cc -fPIC -DPIC -o .libs/connection_list.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c peer.cc -fPIC -DPIC -o .libs/peer.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c peer_list.cc -fPIC -DPIC -o .libs/peer_list.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c client_list.cc -fPIC -DPIC -o .libs/client_list.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c client_info.cc -fPIC -DPIC -o .libs/client_info.o In file included from connection_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 { @@ -2509,21 +2545,12 @@ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from peer_list.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 { - | ^~~~~~~~~~~~~~~ ../../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/functional:49, - from peer_list.cc:42: -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_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 { | ^~~~~~~~~~~~~~ @@ -2536,21 +2563,9 @@ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -../../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 213 | struct greater2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ ../../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 273 | struct invert : public std::unary_function { - | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ @@ -2560,6 +2575,33 @@ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +../../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 551 | class mem_fun2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from peer_list.cc:43: +../../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 174 | struct less2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/functional:49, + from peer_list.cc:42: +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 213 | struct greater2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 273 | struct invert : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/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 { | ^~~~~~~~~~~~~~ @@ -2578,12 +2620,6 @@ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -../../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 551 | class mem_fun2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ ../../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -2644,11 +2680,6 @@ /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -../../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../../download/download_main.h:41, from peer.cc:41: ../../../rak/functional.h: At global scope: @@ -2727,6 +2758,11 @@ /usr/include/c++/14/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 ./../../download/download_main.h:43: @@ -2743,14 +2779,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 ./../../download/available_list.h:45, - from peer_list.cc:46: -./../../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 62 | struct add_address : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ In file included from ./../../protocol/extensions.h:48, from peer_info.cc:42: ./../../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] @@ -2763,31 +2791,13 @@ 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./../../download/available_list.h:45, - from ./../../download/download_main.h:48: -./../../net/address_list.h: At global scope: + from peer_list.cc:46: ./../../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from ../../../rak/priority_queue_default.h:42, - from ./../../globals.h:41, - from peer_list.cc:52: -../../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_algobase.h:65, - from /usr/include/c++/14/algorithm:60, - from peer_list.cc:41: -/usr/include/c++/14/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 ./../../protocol/peer_chunks.h:41, from ./../../protocol/peer_connection_base.h:48, from peer_info.cc:43: @@ -2800,15 +2810,6 @@ /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ -In file included from ./../../download/available_list.h:45, - from ./../../download/download_main.h:48: -./../../net/address_list.h: At global scope: -./../../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 62 | struct add_address : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ In file included from ./../../protocol/request_list.h:42, from ./../../protocol/peer_connection_base.h:50: ./../../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': @@ -2820,6 +2821,68 @@ 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' +In file included from ./../../download/available_list.h:45, + from ./../../download/download_main.h:48: +./../../net/address_list.h: At global scope: +./../../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 62 | struct add_address : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from ./../../globals.h:41, + from ./../../protocol/request_list.h:46: +../../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ./../../download/available_list.h:45, + from ./../../download/download_main.h:48: +./../../net/address_list.h: At global scope: +./../../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 62 | struct add_address : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +peer_info.cc: In destructor 'torrent::PeerInfo::~PeerInfo()': +peer_info.cc:78:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 78 | throw internal_error("PeerInfo::~PeerInfo() peer is blocked."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +peer_info.cc:78:5: note: in C++11 destructors default to 'noexcept' +In file included from ../../../rak/priority_queue_default.h:42, + from ./../../globals.h:41, + from peer_list.cc:52: +../../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_algobase.h:65, + from /usr/include/c++/14/algorithm:60, + from peer_list.cc:41: +/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ./../../download/download_main.h:52: +./../../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': +./../../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here + 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) + | ^~~~~~~ +./../../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ peer_list.cc: At global scope: peer_list.cc:90:43: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 90 | struct peer_list_equal_port : public std::binary_function { @@ -2849,29 +2912,6 @@ /usr/include/c++/14/bits/stl_function.h:1150:5: note: declared here 1150 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ -In file included from ./../../globals.h:41, - from ./../../protocol/request_list.h:46: -../../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -../../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../../rak/priority_queue_default.h:113:18: required from here - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -peer_info.cc: In destructor 'torrent::PeerInfo::~PeerInfo()': -peer_info.cc:78:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 78 | throw internal_error("PeerInfo::~PeerInfo() peer is blocked."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -peer_info.cc:78:5: note: in C++11 destructors default to 'noexcept' -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from ./../../protocol/peer_chunks.h:41, from ./../../protocol/peer_connection_base.h:48, from connection_list.cc:45: @@ -2883,6 +2923,16 @@ /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ +In file included from ./../../protocol/peer_chunks.h:41, + from peer.cc:42: +../../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': +../../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] + 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_algobase.h:64: +/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here + 284 | struct pair + | ^~~~ In file included from ./../../protocol/request_list.h:42, from ./../../protocol/peer_connection_base.h:50: ./../../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': @@ -2894,31 +2944,17 @@ 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' -In file included from ./../../download/download_main.h:52: -./../../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': -./../../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here - 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) - | ^~~~~~~ -./../../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../../rak/priority_queue_default.h:113:18: required from here + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from ./../../protocol/peer_chunks.h:41, - from peer.cc:42: -../../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': -../../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] - 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_algobase.h:64: -/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here - 284 | struct pair - | ^~~~ ../../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) @@ -2929,10 +2965,6 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -client_list.cc: In member function 'std::vector::iterator torrent::ClientList::insert(torrent::ClientInfo::id_type, const char*, const char*, const char*)': -client_list.cc:134:17: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 2 equals destination size [-Wstringop-truncation] - 134 | std::strncpy(clientInfo.mutable_key(), key, ClientInfo::max_key_size); - | ^ ../../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) @@ -2943,81 +2975,37 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -/bin/bash ../../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_torrentpeer.la client_info.lo client_list.lo connection_list.lo peer.lo peer_info.lo peer_list.lo -lcppunit -lz -lcrypto +client_list.cc: In member function 'std::vector::iterator torrent::ClientList::insert(torrent::ClientInfo::id_type, const char*, const char*, const char*)': +client_list.cc:134:17: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 2 equals destination size [-Wstringop-truncation] + 134 | std::strncpy(clientInfo.mutable_key(), key, ClientInfo::max_key_size); + | ^ +/bin/sh ../../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_torrentpeer.la client_info.lo client_list.lo connection_list.lo peer.lo peer_info.lo peer_list.lo -lcppunit -lz -lcrypto libtool: link: ar cr .libs/libsub_torrentpeer.a .libs/client_info.o .libs/client_list.o .libs/connection_list.o .libs/peer.o .libs/peer_info.o .libs/peer_list.o libtool: link: ranlib .libs/libsub_torrentpeer.a libtool: link: ( cd ".libs" && rm -f "libsub_torrentpeer.la" && ln -s "../libsub_torrentpeer.la" "libsub_torrentpeer.la" ) make[5]: Leaving directory '/build/reproducible-path/libtorrent-0.13.8/src/torrent/peer' Making all in utils make[5]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src/torrent/utils' -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o directory_events.lo directory_events.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o log.lo log.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o log_buffer.lo log_buffer.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o net.lo net.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o option_strings.lo option_strings.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o resume.lo resume.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o signal_bitfield.lo signal_bitfield.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o thread_base.lo thread_base.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o thread_interrupt.lo thread_interrupt.cc -/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o uri_parser.lo uri_parser.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o directory_events.lo directory_events.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o log.lo log.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o log_buffer.lo log_buffer.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o net.lo net.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o option_strings.lo option_strings.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o resume.lo resume.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o signal_bitfield.lo signal_bitfield.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o thread_base.lo thread_base.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o thread_interrupt.lo thread_interrupt.cc +/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o uri_parser.lo uri_parser.cc +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c option_strings.cc -fPIC -DPIC -o .libs/option_strings.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c log_buffer.cc -fPIC -DPIC -o .libs/log_buffer.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c resume.cc -fPIC -DPIC -o .libs/resume.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c log.cc -fPIC -DPIC -o .libs/log.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c resume.cc -fPIC -DPIC -o .libs/resume.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c signal_bitfield.cc -fPIC -DPIC -o .libs/signal_bitfield.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c directory_events.cc -fPIC -DPIC -o .libs/directory_events.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c net.cc -fPIC -DPIC -o .libs/net.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c option_strings.cc -fPIC -DPIC -o .libs/option_strings.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c thread_base.cc -fPIC -DPIC -o .libs/thread_base.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c thread_interrupt.cc -fPIC -DPIC -o .libs/thread_interrupt.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c thread_base.cc -fPIC -DPIC -o .libs/thread_base.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c uri_parser.cc -fPIC -DPIC -o .libs/uri_parser.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c directory_events.cc -fPIC -DPIC -o .libs/directory_events.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c signal_bitfield.cc -fPIC -DPIC -o .libs/signal_bitfield.o -In file included from ../../../rak/priority_queue_default.h:42, - from ./../../globals.h:41, - from log_buffer.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++/14/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/14/string:47, - from log_buffer.h:40, - from log_buffer.cc:39: -/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from ../../../rak/priority_queue_default.h:42, - from ./../../globals.h:41, - from log.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++/14/bits/stl_algobase.h:65, - from /usr/include/c++/14/bitset:49, - from log.h:40, - from log.cc:41: -/usr/include/c++/14/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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435, - from /usr/include/c++/14/string:49: -/usr/include/c++/14/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 ../../../rak/priority_queue_default.h:42, from ./../../manager.h:42, from directory_events.cc:53: @@ -3133,6 +3121,19 @@ directory_events.cc:143:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 143 | if (result < sizeof(struct inotify_event)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../../rak/priority_queue_default.h:42, + from ./../../globals.h:41, + from log_buffer.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++/14/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/14/string:47, + from log_buffer.h:40, + from log_buffer.cc:39: +/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ ../../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) @@ -3174,6 +3175,19 @@ /usr/include/c++/14/bits/stl_function.h:1123:5: note: declared here 1123 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ +In file included from ../../../rak/priority_queue_default.h:42, + from ./../../globals.h:41, + from log.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++/14/bits/stl_algobase.h:65, + from /usr/include/c++/14/bitset:49, + from log.h:40, + from log.cc:41: +/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ In file included from resume.cc:51: ./../../net/address_list.h: At global scope: ./../../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] @@ -3182,29 +3196,28 @@ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -log.cc: In function 'void torrent::log_update_child_cache(int)': -log.cc:107:30: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = greater_equal >; _Tp = pair]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 107 | std::bind2nd(std::greater_equal >(), std::make_pair(index, 0))); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, - from /usr/include/c++/14/string:49, - from /usr/include/c++/14/bitset:52: + from /usr/include/c++/14/string:49: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -log.cc: In function 'void torrent::log_rebuild_cache()': -log.cc:131:71: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::log_group]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 131 | std::for_each(log_groups.begin(), log_groups.end(), std::mem_fun_ref(&log_group::clear_cached_outputs)); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here - 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) - | ^~~~~~~~~~~ -log.cc:137:69: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::log_cache_entry]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 137 | std::for_each(log_cache.begin(), log_cache.end(), std::mem_fun_ref(&log_cache_entry::clear)); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here - 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) - | ^~~~~~~~~~~ In file included from ../../../rak/priority_queue_default.h:42, from ./../../globals.h:41, from resume.cc:61: @@ -3221,13 +3234,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' -log.cc: In function 'void torrent::log_cleanup()': -log.cc:271:69: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::log_cache_entry]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 271 | std::for_each(log_cache.begin(), log_cache.end(), std::mem_fun_ref(&log_cache_entry::clear)); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here - 1380 | 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 113 | if (queue->find(item) != queue->end()) @@ -3238,6 +3244,36 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +log.cc: In function 'void torrent::log_update_child_cache(int)': +log.cc:107:30: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = greater_equal >; _Tp = pair]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 107 | std::bind2nd(std::greater_equal >(), std::make_pair(index, 0))); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435, + from /usr/include/c++/14/string:49, + from /usr/include/c++/14/bitset:52: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +log.cc: In function 'void torrent::log_rebuild_cache()': +log.cc:131:71: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::log_group]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 131 | std::for_each(log_groups.begin(), log_groups.end(), std::mem_fun_ref(&log_group::clear_cached_outputs)); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here + 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) + | ^~~~~~~~~~~ +log.cc:137:69: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::log_cache_entry]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 137 | std::for_each(log_cache.begin(), log_cache.end(), std::mem_fun_ref(&log_cache_entry::clear)); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here + 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) + | ^~~~~~~~~~~ +log.cc: In function 'void torrent::log_cleanup()': +log.cc:271:69: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::log_cache_entry]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 271 | std::for_each(log_cache.begin(), log_cache.end(), std::mem_fun_ref(&log_cache_entry::clear)); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here + 1380 | 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 113 | if (queue->find(item) != queue->end()) @@ -3248,38 +3284,39 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -/bin/bash ../../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_torrentutils.la directory_events.lo log.lo log_buffer.lo net.lo option_strings.lo resume.lo signal_bitfield.lo thread_base.lo thread_interrupt.lo uri_parser.lo -lcppunit -lz -lcrypto +/bin/sh ../../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_torrentutils.la directory_events.lo log.lo log_buffer.lo net.lo option_strings.lo resume.lo signal_bitfield.lo thread_base.lo thread_interrupt.lo uri_parser.lo -lcppunit -lz -lcrypto libtool: link: ar cr .libs/libsub_torrentutils.a .libs/directory_events.o .libs/log.o .libs/log_buffer.o .libs/net.o .libs/option_strings.o .libs/resume.o .libs/signal_bitfield.o .libs/thread_base.o .libs/thread_interrupt.o .libs/uri_parser.o libtool: link: ranlib .libs/libsub_torrentutils.a libtool: link: ( cd ".libs" && rm -f "libsub_torrentutils.la" && ln -s "../libsub_torrentutils.la" "libsub_torrentutils.la" ) make[5]: Leaving directory '/build/reproducible-path/libtorrent-0.13.8/src/torrent/utils' make[5]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src/torrent' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o bitfield.lo bitfield.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk_manager.lo chunk_manager.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o connection_manager.lo connection_manager.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_manager.lo dht_manager.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o download.lo download.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o error.lo error.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o exceptions.lo exceptions.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o hash_string.lo hash_string.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o http.lo http.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o object.lo object.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o object_static_map.lo object_static_map.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o object_stream.lo object_stream.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c download.cc -fPIC -DPIC -o .libs/download.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c bitfield.cc -fPIC -DPIC -o .libs/bitfield.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c error.cc -fPIC -DPIC -o .libs/error.o +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o bitfield.lo bitfield.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk_manager.lo chunk_manager.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o connection_manager.lo connection_manager.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_manager.lo dht_manager.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o download.lo download.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o error.lo error.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o exceptions.lo exceptions.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o hash_string.lo hash_string.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o http.lo http.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o object.lo object.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o object_static_map.lo object_static_map.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o object_stream.lo object_stream.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c http.cc -fPIC -DPIC -o .libs/http.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c dht_manager.cc -fPIC -DPIC -o .libs/dht_manager.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c hash_string.cc -fPIC -DPIC -o .libs/hash_string.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c connection_manager.cc -fPIC -DPIC -o .libs/connection_manager.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c chunk_manager.cc -fPIC -DPIC -o .libs/chunk_manager.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c dht_manager.cc -fPIC -DPIC -o .libs/dht_manager.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c object_static_map.cc -fPIC -DPIC -o .libs/object_static_map.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c exceptions.cc -fPIC -DPIC -o .libs/exceptions.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c error.cc -fPIC -DPIC -o .libs/error.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c download.cc -fPIC -DPIC -o .libs/download.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c object.cc -fPIC -DPIC -o .libs/object.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c hash_string.cc -fPIC -DPIC -o .libs/hash_string.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c bitfield.cc -fPIC -DPIC -o .libs/bitfield.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c object_stream.cc -fPIC -DPIC -o .libs/object_stream.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c exceptions.cc -fPIC -DPIC -o .libs/exceptions.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c object_static_map.cc -fPIC -DPIC -o .libs/object_static_map.o -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o path.lo path.cc -In file included from bitfield.cc:41: +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c connection_manager.cc -fPIC -DPIC -o .libs/connection_manager.o +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o path.lo path.cc +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c path.cc -fPIC -DPIC -o .libs/path.o +In file included from object_static_map.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> { | ^~~~~~~~~~~~~~~ @@ -3363,6 +3400,15 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In file included from bitfield.cc:41: +../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/functional:49, + from ../../rak/algorithm.h:41: +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from data/block.h:42, from download.cc:43: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': @@ -3392,6 +3438,48 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o poll_epoll.lo poll_epoll.cc +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from chunk_manager.cc:48: +../../rak/priority_queue.h: At global scope: +../../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++/14/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/14/string:47: +/usr/include/c++/14/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' +chunk_manager.cc: In destructor 'torrent::ChunkManager::~ChunkManager()': +chunk_manager.cc:78:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 78 | throw internal_error("ChunkManager::~ChunkManager() m_memoryUsage != 0 || m_memoryBlockCount != 0."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +chunk_manager.cc:78:5: note: in C++11 destructors default to 'noexcept' +In file included from ./../data/chunk_list.h:44, + from download.cc:45: +./../data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': +./../data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/refwrap.h:39, + from /usr/include/c++/14/vector:68, + from data/block.h:40: +/usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here + 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) + | ^~~~~~~~~~~ +./../data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from http.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 { @@ -3466,6 +3554,16 @@ /usr/include/c++/14/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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ @@ -3473,27 +3571,16 @@ 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from chunk_manager.cc:48: -../../rak/priority_queue.h: At global scope: -../../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++/14/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/14/string:47: -/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, from ./../manager.h:42, - from dht_manager.cc:43: + from connection_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++/14/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/14/string:47, - from ./../torrent/exceptions.h:47, - from dht_manager.cc:39: + from ../../rak/socket_address.h:51, + from ../../rak/address_info.h:47, + from connection_manager.cc:41: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -3502,46 +3589,24 @@ 56 | throw torrent::internal_error("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 ./../data/chunk_list.h:44, - from download.cc:45: -./../data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': -./../data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/refwrap.h:39, - from /usr/include/c++/14/vector:68, - from data/block.h:40: -/usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here - 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) - | ^~~~~~~~~~~ +In file included from ./../data/hash_torrent.h:43, + from download.cc:47: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -./../data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -chunk_manager.cc: In destructor 'torrent::ChunkManager::~ChunkManager()': -chunk_manager.cc:78:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 78 | throw internal_error("ChunkManager::~ChunkManager() m_memoryUsage != 0 || m_memoryBlockCount != 0."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -chunk_manager.cc:78:5: note: in C++11 destructors default to 'noexcept' +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o poll_kqueue.lo poll_kqueue.cc In file included from ../../rak/priority_queue_default.h:42, from ./../manager.h:42, - from connection_manager.cc:49: + from dht_manager.cc:43: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/14/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/14/string:47, - from ../../rak/socket_address.h:51, - from ../../rak/address_info.h:47, - from connection_manager.cc:41: + from ./../torrent/exceptions.h:47, + from dht_manager.cc:39: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -3550,6 +3615,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' +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c poll_epoll.cc -fPIC -DPIC -o .libs/poll_epoll.o ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) @@ -3557,10 +3623,22 @@ ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435, + from /usr/include/c++/14/string:49: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o poll_epoll.lo poll_epoll.cc +In file included from ./../download/chunk_selector.h:41, + from download.cc:49: +../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': +../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] + 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_algobase.h:64, + from /usr/include/c++/14/vector:62: +/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here + 284 | struct pair + | ^~~~ In file included from object_stream.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> { @@ -3575,38 +3653,8 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from ./../data/hash_torrent.h:43, - from download.cc:47: -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435, - from /usr/include/c++/14/string:49: -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c path.cc -fPIC -DPIC -o .libs/path.o -In file included from ./../download/chunk_selector.h:41, - from download.cc:49: -../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': -../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] - 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_algobase.h:64, - from /usr/include/c++/14/vector:62: -/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here - 284 | struct pair - | ^~~~ -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c poll_epoll.cc -fPIC -DPIC -o .libs/poll_epoll.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c poll_kqueue.cc -fPIC -DPIC -o .libs/poll_kqueue.o +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o poll_select.lo poll_select.cc In file included from ./../dht/dht_tracker.h:45, from ./../dht/dht_hash_map.h:51, from ./../dht/dht_router.h:48, @@ -3625,16 +3673,6 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from object_static_map.cc:39: -../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/functional:49, - from ../../rak/algorithm.h:41: -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o poll_kqueue.lo poll_kqueue.cc In file included from ./../dht/dht_server.h:50, from ./../dht/dht_router.h:49: ./../dht/dht_transaction.h:73:41: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] @@ -3643,7 +3681,10 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o poll_select.lo poll_select.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o rate.lo rate.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o throttle.lo throttle.cc +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c poll_select.cc -fPIC -DPIC -o .libs/poll_select.o +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent.lo torrent.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 113 | if (queue->find(item) != queue->end()) @@ -3655,18 +3696,26 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o rate.lo rate.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o throttle.lo throttle.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c poll_select.cc -fPIC -DPIC -o .libs/poll_select.o -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent.lo torrent.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c poll_kqueue.cc -fPIC -DPIC -o .libs/poll_kqueue.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c rate.cc -fPIC -DPIC -o .libs/rate.o -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker.lo tracker.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c throttle.cc -fPIC -DPIC -o .libs/throttle.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c tracker.cc -fPIC -DPIC -o .libs/tracker.o -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker_controller.lo tracker_controller.cc +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c rate.cc -fPIC -DPIC -o .libs/rate.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c torrent.cc -fPIC -DPIC -o .libs/torrent.o -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker_list.lo tracker_list.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker.lo tracker.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker_controller.lo tracker_controller.cc +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c tracker_controller.cc -fPIC -DPIC -o .libs/tracker_controller.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c tracker.cc -fPIC -DPIC -o .libs/tracker.o +In file included from ../../rak/priority_queue_default.h:42, + from ./../net/throttle_internal.h:41, + from throttle.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++/14/bits/stl_algobase.h:65, + from /usr/include/c++/14/vector:62, + from ./../net/throttle_internal.h:40: +/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker_list.lo tracker_list.cc In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from rate.cc:39: @@ -3683,6 +3732,39 @@ /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c tracker_list.cc -fPIC -DPIC -o .libs/tracker_list.o +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +poll_select.cc: In destructor 'virtual torrent::PollSelect::~PollSelect()': +poll_select.cc:163:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 163 | throw internal_error("PollSelect::~PollSelect() called but the sets are not empty"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +poll_select.cc:163:5: note: in C++11 destructors default to 'noexcept' +poll_select.cc: In member function 'unsigned int torrent::PollSelect::perform(fd_set*, fd_set*, fd_set*)': +poll_select.cc:211:66: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Event]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 211 | poll_check(this, exceptSet, std::mem_fun(&Event::event_error))); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/string:49, + from /usr/include/c++/14/stdexcept:39, + from poll_select.cc:41: +/usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here + 1368 | mem_fun(_Ret (_Tp::*__f)()) + | ^~~~~~~ +poll_select.cc:215:64: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Event]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 215 | poll_check(this, readSet, std::mem_fun(&Event::event_read))); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here + 1368 | mem_fun(_Ret (_Tp::*__f)()) + | ^~~~~~~ +poll_select.cc:219:65: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Event]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 219 | poll_check(this, writeSet, std::mem_fun(&Event::event_write))); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here + 1368 | mem_fun(_Ret (_Tp::*__f)()) + | ^~~~~~~ In file included from poll_kqueue.cc:50: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { @@ -3759,50 +3841,6 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -poll_select.cc: In destructor 'virtual torrent::PollSelect::~PollSelect()': -poll_select.cc:163:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 163 | throw internal_error("PollSelect::~PollSelect() called but the sets are not empty"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -poll_select.cc:163:5: note: in C++11 destructors default to 'noexcept' -poll_select.cc: In member function 'unsigned int torrent::PollSelect::perform(fd_set*, fd_set*, fd_set*)': -poll_select.cc:211:66: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Event]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 211 | poll_check(this, exceptSet, std::mem_fun(&Event::event_error))); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:49, - from /usr/include/c++/14/stdexcept:39, - from poll_select.cc:41: -/usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here - 1368 | mem_fun(_Ret (_Tp::*__f)()) - | ^~~~~~~ -poll_select.cc:215:64: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Event]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 215 | poll_check(this, readSet, std::mem_fun(&Event::event_read))); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here - 1368 | mem_fun(_Ret (_Tp::*__f)()) - | ^~~~~~~ -poll_select.cc:219:65: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Event]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 219 | poll_check(this, writeSet, std::mem_fun(&Event::event_write))); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here - 1368 | mem_fun(_Ret (_Tp::*__f)()) - | ^~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../net/throttle_internal.h:41, - from throttle.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++/14/bits/stl_algobase.h:65, - from /usr/include/c++/14/vector:62, - from ./../net/throttle_internal.h:40: -/usr/include/c++/14/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 113 | if (queue->find(item) != queue->end()) @@ -3811,7 +3849,8 @@ 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, - from /usr/include/c++/14/functional:49: + from /usr/include/c++/14/bits/refwrap.h:39, + from /usr/include/c++/14/vector:68: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ @@ -3820,7 +3859,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' -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c tracker_list.cc -fPIC -DPIC -o .libs/tracker_list.o ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) @@ -3829,21 +3867,19 @@ 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, - from /usr/include/c++/14/bits/refwrap.h:39, - from /usr/include/c++/14/vector:68: + from /usr/include/c++/14/functional:49: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c tracker_controller.cc -fPIC -DPIC -o .libs/tracker_controller.o In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from tracker.cc:42: + from tracker_controller.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++/14/bits/stl_algobase.h:65, - from /usr/include/c++/14/algorithm:60, - from tracker.cc:39: +In file included from /usr/include/c++/14/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/14/string:47, + from exceptions.h:47, + from tracker_controller.cc:39: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -3852,20 +3888,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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435, - from /usr/include/c++/14/string:49, - from exceptions.h:47, - from tracker.cc:41: -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from tracker_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 { @@ -3942,16 +3964,14 @@ 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, - from ./../manager.h:42, - from torrent.cc:50: + from ./../globals.h:41, + from tracker.cc:42: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/14/string:47, - from ../../rak/socket_address.h:51, - from ../../rak/address_info.h:47, - from torrent.cc:39: +In file included from /usr/include/c++/14/bits/stl_algobase.h:65, + from /usr/include/c++/14/algorithm:60, + from tracker.cc:39: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -3960,15 +3980,43 @@ 56 | throw torrent::internal_error("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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435, + from /usr/include/c++/14/string:49: +/usr/include/c++/14/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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435, + from /usr/include/c++/14/string:49, + from exceptions.h:47, + from tracker.cc:41: +/usr/include/c++/14/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 tracker_controller.cc:45: + from ./../manager.h:42, + from torrent.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++/14/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/14/string:47, - from exceptions.h:47, - from tracker_controller.cc:39: + from ../../rak/socket_address.h:51, + from ../../rak/address_info.h:47, + from torrent.cc:39: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -4060,18 +4108,6 @@ /usr/include/c++/14/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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435, - from /usr/include/c++/14/string:49: -/usr/include/c++/14/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 ./../tracker/tracker_udp.h:48, @@ -4196,7 +4232,7 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_torrent.la bitfield.lo chunk_manager.lo connection_manager.lo dht_manager.lo download.lo error.lo exceptions.lo hash_string.lo http.lo object.lo object_static_map.lo object_stream.lo path.lo poll_epoll.lo poll_kqueue.lo poll_select.lo rate.lo throttle.lo torrent.lo tracker.lo tracker_controller.lo tracker_list.lo -lcppunit -lz -lcrypto +/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_torrent.la bitfield.lo chunk_manager.lo connection_manager.lo dht_manager.lo download.lo error.lo exceptions.lo hash_string.lo http.lo object.lo object_static_map.lo object_stream.lo path.lo poll_epoll.lo poll_kqueue.lo poll_select.lo rate.lo throttle.lo torrent.lo tracker.lo tracker_controller.lo tracker_list.lo -lcppunit -lz -lcrypto libtool: link: ar cr .libs/libsub_torrent.a .libs/bitfield.o .libs/chunk_manager.o .libs/connection_manager.o .libs/dht_manager.o .libs/download.o .libs/error.o .libs/exceptions.o .libs/hash_string.o .libs/http.o .libs/object.o .libs/object_static_map.o .libs/object_stream.o .libs/path.o .libs/poll_epoll.o .libs/poll_kqueue.o .libs/poll_select.o .libs/rate.o .libs/throttle.o .libs/torrent.o .libs/tracker.o .libs/tracker_controller.o .libs/tracker_list.o libtool: link: ranlib .libs/libsub_torrent.a libtool: link: ( cd ".libs" && rm -f "libsub_torrent.la" && ln -s "../libsub_torrent.la" "libsub_torrent.la" ) @@ -4204,36 +4240,36 @@ make[4]: Leaving directory '/build/reproducible-path/libtorrent-0.13.8/src/torrent' Making all in data make[4]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src/data' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk.lo chunk.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk_list.lo chunk_list.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk_part.lo chunk_part.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o hash_check_queue.lo hash_check_queue.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o hash_chunk.lo hash_chunk.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o hash_queue.lo hash_queue.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o hash_queue_node.lo hash_queue_node.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o hash_torrent.lo hash_torrent.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o memory_chunk.lo memory_chunk.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o socket_file.lo socket_file.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c chunk_list.cc -fPIC -DPIC -o .libs/chunk_list.o +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk.lo chunk.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk_list.lo chunk_list.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk_part.lo chunk_part.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o hash_check_queue.lo hash_check_queue.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o hash_chunk.lo hash_chunk.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o hash_queue.lo hash_queue.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o hash_queue_node.lo hash_queue_node.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o hash_torrent.lo hash_torrent.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o memory_chunk.lo memory_chunk.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o socket_file.lo socket_file.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c chunk_part.cc -fPIC -DPIC -o .libs/chunk_part.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c hash_chunk.cc -fPIC -DPIC -o .libs/hash_chunk.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c hash_torrent.cc -fPIC -DPIC -o .libs/hash_torrent.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c hash_queue_node.cc -fPIC -DPIC -o .libs/hash_queue_node.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c chunk_list.cc -fPIC -DPIC -o .libs/chunk_list.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c hash_check_queue.cc -fPIC -DPIC -o .libs/hash_check_queue.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c chunk.cc -fPIC -DPIC -o .libs/chunk.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c memory_chunk.cc -fPIC -DPIC -o .libs/memory_chunk.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c hash_queue_node.cc -fPIC -DPIC -o .libs/hash_queue_node.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c socket_file.cc -fPIC -DPIC -o .libs/socket_file.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c hash_queue.cc -fPIC -DPIC -o .libs/hash_queue.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c hash_check_queue.cc -fPIC -DPIC -o .libs/hash_check_queue.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c hash_torrent.cc -fPIC -DPIC -o .libs/hash_torrent.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c socket_file.cc -fPIC -DPIC -o .libs/socket_file.o socket_file.cc:51:9: warning: "_GNU_SOURCE" redefined 51 | #define _GNU_SOURCE | ^~~~~~~~~~~ : note: this is the location of the previous definition -In file included from chunk_list.cc:42: +In file included from hash_queue.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, - from ../../rak/functional.h:41: + from hash_queue.cc:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -4303,12 +4339,12 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from hash_queue.cc:42: +In file included from chunk_list.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, - from hash_queue.cc:41: + from ../../rak/functional.h:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -4396,72 +4432,6 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from chunk.cc:47: -chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': -chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/functional:49, - from chunk.cc:41: -/usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here - 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) - | ^~~~~~~~~~~ -chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -chunk.cc: In member function 'bool torrent::Chunk::is_all_valid() const': -chunk.cc:63:77: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::ChunkPart]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 63 | return !empty() && std::find_if(begin(), end(), std::not1(std::mem_fun_ref(&ChunkPart::is_valid))) == end(); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here - 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) - | ^~~~~~~~~~~ -chunk.cc:63:60: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = const_mem_fun_ref_t]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] - 63 | return !empty() && std::find_if(begin(), end(), std::not1(std::mem_fun_ref(&ChunkPart::is_valid))) == end(); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1043:5: note: declared here - 1043 | not1(const _Predicate& __pred) - | ^~~~ -chunk.cc: In member function 'void torrent::Chunk::clear()': -chunk.cc:68:49: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ChunkPart]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 68 | std::for_each(begin(), end(), std::mem_fun_ref(&ChunkPart::clear)); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here - 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) - | ^~~~~~~~~~~ -chunk.cc: In member function 'std::vector::iterator torrent::Chunk::at_position(uint32_t)': -chunk.cc:98:76: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 98 | iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::is_contained), pos)); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here - 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) - | ^~~~~~~~~~~ -chunk.cc:98:59: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 98 | iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::is_contained), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from chunk_list.h:44, - from chunk_list.cc:50: -chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': -chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here - 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) - | ^~~~~~~~~~~ -chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from ./../torrent/utils/ranges.h:44, from ./../torrent/data/download_data.h:45, from hash_torrent.cc:43: @@ -4539,22 +4509,6 @@ 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from chunk_list.cc:52: -../../rak/priority_queue.h: At global scope: -../../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++/14/bits/stl_algobase.h:65, - from /usr/include/c++/14/bits/hashtable_policy.h:36, - from /usr/include/c++/14/bits/hashtable.h:35, - from /usr/include/c++/14/bits/unordered_map.h:33, - from /usr/include/c++/14/unordered_map:41, - from /usr/include/c++/14/functional:63: -/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, from hash_torrent.h:43, from hash_torrent.cc:46: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] @@ -4570,6 +4524,38 @@ 56 | throw torrent::internal_error("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 chunk_list.h:44, + from chunk_list.cc:50: +chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': +chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here + 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) + | ^~~~~~~~~~~ +chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/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 chunk_list.cc:52: +../../rak/priority_queue.h: At global scope: +../../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++/14/bits/stl_algobase.h:65, + from /usr/include/c++/14/bits/hashtable_policy.h:36, + from /usr/include/c++/14/bits/hashtable.h:35, + from /usr/include/c++/14/bits/unordered_map.h:33, + from /usr/include/c++/14/unordered_map:41, + from /usr/include/c++/14/functional:63: +/usr/include/c++/14/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."); @@ -4626,6 +4612,63 @@ /usr/include/c++/14/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +In file included from ./../globals.h:41, + from hash_queue.cc:54: +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from chunk.cc:47: +chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': +chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/functional:49, + from chunk.cc:41: +/usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here + 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) + | ^~~~~~~~~~~ +chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +chunk.cc: In member function 'bool torrent::Chunk::is_all_valid() const': +chunk.cc:63:77: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::ChunkPart]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 63 | return !empty() && std::find_if(begin(), end(), std::not1(std::mem_fun_ref(&ChunkPart::is_valid))) == end(); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here + 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) + | ^~~~~~~~~~~ +chunk.cc:63:60: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = const_mem_fun_ref_t]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] + 63 | return !empty() && std::find_if(begin(), end(), std::not1(std::mem_fun_ref(&ChunkPart::is_valid))) == end(); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1043:5: note: declared here + 1043 | not1(const _Predicate& __pred) + | ^~~~ +chunk.cc: In member function 'void torrent::Chunk::clear()': +chunk.cc:68:49: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ChunkPart]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 68 | std::for_each(begin(), end(), std::mem_fun_ref(&ChunkPart::clear)); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here + 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) + | ^~~~~~~~~~~ +chunk.cc: In member function 'std::vector::iterator torrent::Chunk::at_position(uint32_t)': +chunk.cc:98:76: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 98 | iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::is_contained), pos)); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here + 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) + | ^~~~~~~~~~~ +chunk.cc:98:59: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 98 | iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::is_contained), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/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 113 | if (queue->find(item) != queue->end()) @@ -4636,13 +4679,6 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from ./../globals.h:41, - from hash_queue.cc:54: -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) @@ -4653,25 +4689,25 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_data.la chunk.lo chunk_list.lo chunk_part.lo hash_check_queue.lo hash_chunk.lo hash_queue.lo hash_queue_node.lo hash_torrent.lo memory_chunk.lo socket_file.lo -lcppunit -lz -lcrypto +/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_data.la chunk.lo chunk_list.lo chunk_part.lo hash_check_queue.lo hash_chunk.lo hash_queue.lo hash_queue_node.lo hash_torrent.lo memory_chunk.lo socket_file.lo -lcppunit -lz -lcrypto libtool: link: ar cr .libs/libsub_data.a .libs/chunk.o .libs/chunk_list.o .libs/chunk_part.o .libs/hash_check_queue.o .libs/hash_chunk.o .libs/hash_queue.o .libs/hash_queue_node.o .libs/hash_torrent.o .libs/memory_chunk.o .libs/socket_file.o libtool: link: ranlib .libs/libsub_data.a libtool: link: ( cd ".libs" && rm -f "libsub_data.la" && ln -s "../libsub_data.la" "libsub_data.la" ) make[4]: Leaving directory '/build/reproducible-path/libtorrent-0.13.8/src/data' Making all in dht make[4]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src/dht' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_bucket.lo dht_bucket.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_node.lo dht_node.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_router.lo dht_router.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_server.lo dht_server.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_tracker.lo dht_tracker.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_transaction.lo dht_transaction.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c dht_router.cc -fPIC -DPIC -o .libs/dht_router.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c dht_node.cc -fPIC -DPIC -o .libs/dht_node.o +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_bucket.lo dht_bucket.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_node.lo dht_node.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_router.lo dht_router.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_server.lo dht_server.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_tracker.lo dht_tracker.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_transaction.lo dht_transaction.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c dht_bucket.cc -fPIC -DPIC -o .libs/dht_bucket.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c dht_transaction.cc -fPIC -DPIC -o .libs/dht_transaction.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c dht_tracker.cc -fPIC -DPIC -o .libs/dht_tracker.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c dht_router.cc -fPIC -DPIC -o .libs/dht_router.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c dht_server.cc -fPIC -DPIC -o .libs/dht_server.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c dht_transaction.cc -fPIC -DPIC -o .libs/dht_transaction.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c dht_node.cc -fPIC -DPIC -o .libs/dht_node.o In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from dht_node.cc:38: @@ -4690,7 +4726,7 @@ | ^~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, - from dht_server.cc:38: + from dht_router.cc:38: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ @@ -4706,7 +4742,7 @@ | ^~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, - from dht_router.cc:38: + from dht_server.cc:38: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ @@ -4725,86 +4761,22 @@ 56 | throw torrent::internal_error("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 ./../tracker/tracker_dht.h:40, + from dht_transaction.cc:41: +./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 62 | struct add_address : public std::unary_function { + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/string:49, + from ./../torrent/exceptions.h:47, + from dht_transaction.cc:39: +/usr/include/c++/14/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' -In file included from dht_server.cc:42: -../../rak/functional.h: At global scope: -../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 174 | struct less2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/functional:49: -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 213 | struct greater2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 273 | struct invert : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 279 | struct on_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 299 | struct on2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 320 | struct mem_ptr_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 341 | struct mem_ref_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 352 | struct const_mem_ref_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 395 | struct call_delete : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 408 | class bind1st_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 433 | class bind2nd_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 551 | class mem_fun2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/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_bucket.h:42, @@ -4824,11 +4796,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_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' dht_bucket.cc: In member function 'void torrent::DhtBucket::remove_node(torrent::DhtNode*)': dht_bucket.cc:78:59: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = torrent::DhtNode*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 78 | iterator itr = std::find_if(begin(), end(), std::bind2nd(std::equal_to(), n)); @@ -4870,6 +4837,12 @@ /usr/include/c++/14/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ +dht_bucket.cc:170:59: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = torrent::DhtBucket*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 170 | std::for_each(other->begin(), other->end(), std::bind2nd(std::mem_fun(&DhtNode::set_bucket), other)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/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 dht_tracker.h:40, @@ -4877,12 +4850,6 @@ ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -dht_bucket.cc:170:59: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = torrent::DhtBucket*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 170 | std::for_each(other->begin(), other->end(), std::bind2nd(std::mem_fun(&DhtNode::set_bucket), other)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from /usr/include/c++/14/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/14/string:47, from ./../torrent/object.h:40, @@ -4895,17 +4862,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 ./../tracker/tracker_dht.h:40, - from dht_transaction.cc:41: -./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 62 | struct add_address : public std::unary_function { - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:49, - from ./../torrent/exceptions.h:47, - from dht_transaction.cc:39: -/usr/include/c++/14/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 113 | if (queue->find(item) != queue->end()) @@ -4916,15 +4872,6 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from dht_tracker.h:45: -./../net/address_list.h: At global scope: -./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 62 | struct add_address : public std::unary_function { - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:49: -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ In file included from dht_router.cc:41: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] @@ -4952,16 +4899,9 @@ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -dht_tracker.cc: In member function 'void torrent::DhtTracker::prune(uint32_t)': -dht_tracker.cc:111:80: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::DhtTracker::BencodeAddress]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 111 | m_peers.erase(std::remove_if(m_peers.begin(), m_peers.end(), std::mem_fun_ref(&BencodeAddress::empty)), m_peers.end()); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here - 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) - | ^~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -4995,16 +4935,9 @@ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -dht_tracker.cc:112:85: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 112 | m_lastSeen.erase(std::remove_if(m_lastSeen.begin(), m_lastSeen.end(), std::bind2nd(std::less(), minSeen)), m_lastSeen.end()); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ @@ -5014,6 +4947,20 @@ /usr/include/c++/14/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 dht_tracker.h:45: +./../net/address_list.h: At global scope: +./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 62 | struct add_address : public std::unary_function { + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/string:49: +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ In file included from dht_node.cc:44: ./../net/address_list.h: At global scope: ./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] @@ -5023,27 +4970,6 @@ /usr/include/c++/14/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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/c++/14/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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/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 dht_bucket.h:42, @@ -5056,19 +4982,100 @@ /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +In file included from dht_server.cc:42: +../../rak/functional.h: At global scope: +../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 174 | struct less2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("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 ./../tracker/tracker_dht.h:40, - from dht_server.cc:53: -./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 62 | struct add_address : public std::unary_function { - | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/functional:49: +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 213 | struct greater2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +dht_tracker.cc: In member function 'void torrent::DhtTracker::prune(uint32_t)': +dht_tracker.cc:111:80: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::DhtTracker::BencodeAddress]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 111 | m_peers.erase(std::remove_if(m_peers.begin(), m_peers.end(), std::mem_fun_ref(&BencodeAddress::empty)), m_peers.end()); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here + 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) + | ^~~~~~~~~~~ +../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 273 | struct invert : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 279 | struct on_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 299 | struct on2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 320 | struct mem_ptr_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 341 | struct mem_ref_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +dht_tracker.cc:112:85: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 112 | m_lastSeen.erase(std::remove_if(m_lastSeen.begin(), m_lastSeen.end(), std::bind2nd(std::less(), minSeen)), m_lastSeen.end()); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 352 | struct const_mem_ref_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 395 | struct call_delete : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 408 | class bind1st_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 433 | class bind2nd_t : public std::unary_function { + | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 551 | class mem_fun2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from dht_transaction.cc:44: dht_transaction.h: At global scope: dht_transaction.h:73:41: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] @@ -5077,14 +5084,17 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from dht_router.h:48, - from dht_server.cc:56: -dht_hash_map.h:148:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 148 | struct hashstring_ptr_less : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ dht_transaction.cc: In destructor 'virtual torrent::DhtSearch::~DhtSearch()': dht_transaction.cc:67:5: warning: 'throw' will always call 'terminate' [-Wterminate] 67 | throw internal_error("DhtSearch::~DhtSearch called with pending transactions."); @@ -5094,19 +5104,21 @@ 70 | throw internal_error("DhtSearch::~DhtSearch with invalid concurrency limit."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dht_transaction.cc:70: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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ dht_transaction.cc: In destructor 'virtual torrent::DhtAnnounce::~DhtAnnounce()': dht_transaction.cc:212:5: warning: 'throw' will always call 'terminate' [-Wterminate] 212 | throw internal_error("DhtAnnounce::~DhtAnnounce called while announce not complete."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dht_transaction.cc:212:5: note: in C++11 destructors default to 'noexcept' -In file included from dht_server.h:50, - from dht_router.h:49: -dht_transaction.h:73:41: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 73 | struct dht_compare_closer : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/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 113 | if (queue->find(item) != queue->end()) @@ -5118,6 +5130,30 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +In file included from ./../tracker/tracker_dht.h:40, + from dht_server.cc:53: +./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 62 | struct add_address : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from dht_router.h:48, + from dht_server.cc:56: +dht_hash_map.h:148:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 148 | struct hashstring_ptr_less : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from dht_server.h:50, + from dht_router.h:49: +dht_transaction.h:73:41: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 73 | struct dht_compare_closer : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/14/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 113 | if (queue->find(item) != queue->end()) @@ -5140,27 +5176,40 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_dht.la dht_bucket.lo dht_node.lo dht_router.lo dht_server.lo dht_tracker.lo dht_transaction.lo -lcppunit -lz -lcrypto +/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_dht.la dht_bucket.lo dht_node.lo dht_router.lo dht_server.lo dht_tracker.lo dht_transaction.lo -lcppunit -lz -lcrypto libtool: link: ar cr .libs/libsub_dht.a .libs/dht_bucket.o .libs/dht_node.o .libs/dht_router.o .libs/dht_server.o .libs/dht_tracker.o .libs/dht_transaction.o libtool: link: ranlib .libs/libsub_dht.a libtool: link: ( cd ".libs" && rm -f "libsub_dht.la" && ln -s "../libsub_dht.la" "libsub_dht.la" ) make[4]: Leaving directory '/build/reproducible-path/libtorrent-0.13.8/src/dht' Making all in download make[4]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src/download' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o available_list.lo available_list.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk_selector.lo chunk_selector.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk_statistics.lo chunk_statistics.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o delegator.lo delegator.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o download_constructor.lo download_constructor.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o download_main.lo download_main.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o download_wrapper.lo download_wrapper.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c available_list.cc -fPIC -DPIC -o .libs/available_list.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c chunk_selector.cc -fPIC -DPIC -o .libs/chunk_selector.o +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o available_list.lo available_list.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk_selector.lo chunk_selector.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk_statistics.lo chunk_statistics.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o delegator.lo delegator.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o download_constructor.lo download_constructor.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o download_main.lo download_main.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o download_wrapper.lo download_wrapper.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c delegator.cc -fPIC -DPIC -o .libs/delegator.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c chunk_statistics.cc -fPIC -DPIC -o .libs/chunk_statistics.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c download_wrapper.cc -fPIC -DPIC -o .libs/download_wrapper.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c download_constructor.cc -fPIC -DPIC -o .libs/download_constructor.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c chunk_selector.cc -fPIC -DPIC -o .libs/chunk_selector.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c download_main.cc -fPIC -DPIC -o .libs/download_main.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c chunk_statistics.cc -fPIC -DPIC -o .libs/chunk_statistics.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c available_list.cc -fPIC -DPIC -o .libs/available_list.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c download_constructor.cc -fPIC -DPIC -o .libs/download_constructor.o +In file included from ./../protocol/peer_chunks.h:41, + from chunk_statistics.cc:41: +../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': +../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] + 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_algobase.h:64, + from /usr/include/c++/14/string:51, + from ./../torrent/exceptions.h:47, + from chunk_statistics.cc:39: +/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here + 284 | struct pair + | ^~~~ In file included from chunk_selector.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 { @@ -5236,19 +5285,6 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from ./../protocol/peer_chunks.h:41, - from chunk_statistics.cc:41: -../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': -../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] - 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_algobase.h:64, - from /usr/include/c++/14/string:51, - from ./../torrent/exceptions.h:47, - from chunk_statistics.cc:39: -/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here - 284 | struct pair - | ^~~~ In file included from download_constructor.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 { @@ -5336,29 +5372,52 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./../protocol/peer_chunks.h:41, - from delegator.cc:49: + from chunk_selector.cc:43: ../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60, - from delegator.cc:41: + from chunk_selector.cc:39: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ +In file included from ./../data/chunk_list.h:44, + from download_wrapper.cc:43: +./../data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': +./../data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../protocol/peer_chunks.h:41, - from chunk_selector.cc:43: + from delegator.cc:49: ../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60, - from chunk_selector.cc:39: + from delegator.cc:41: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ +In file included from /usr/include/c++/14/string:49, + from /usr/include/c++/14/bits/locale_classes.h:40, + from /usr/include/c++/14/bits/ios_base.h:41, + from /usr/include/c++/14/streambuf:43, + from /usr/include/c++/14/bits/streambuf_iterator.h:35, + from /usr/include/c++/14/iterator:66, + from download_wrapper.cc:39: +/usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here + 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) + | ^~~~~~~~~~~ +./../data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from ./../data/chunk_list.h:44, from download_main.cc:42: ./../data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': @@ -5392,29 +5451,13 @@ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from ./../data/chunk_list.h:44, - from download_wrapper.cc:43: -./../data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': -./../data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:49, - from /usr/include/c++/14/bits/locale_classes.h:40, - from /usr/include/c++/14/bits/ios_base.h:41, - from /usr/include/c++/14/streambuf:43, - from /usr/include/c++/14/bits/streambuf_iterator.h:35, - from /usr/include/c++/14/iterator:66, - from download_wrapper.cc:39: -/usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here - 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) - | ^~~~~~~~~~~ -./../data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ +In file included from ./../data/hash_torrent.h:43, + from download_wrapper.cc:45: +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' delegator.cc: In member function 'torrent::BlockTransfer* torrent::Delegator::delegate(torrent::PeerChunks*, int)': delegator.cc:167:15: warning: ignoring return value of '_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = __gnu_cxx::__normal_iterator >; _Predicate = torrent::DelegatorCheckAggressive]', declared with attribute 'nodiscard' [-Wunused-result] 167 | std::find_if(m_transfers.begin(), m_transfers.end(), DelegatorCheckAggressive(this, &target, &overlapped, peerChunks)); @@ -5423,13 +5466,6 @@ /usr/include/c++/14/bits/stl_algo.h:3866:5: note: declared here 3866 | find_if(_InputIterator __first, _InputIterator __last, | ^~~~~~~ -In file included from ./../data/hash_torrent.h:43, - from download_wrapper.cc:45: -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../protocol/extensions.h:48, from download_main.cc:43: ./../net/address_list.h: At global scope: @@ -5439,6 +5475,40 @@ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from ./../download/download_main.h:43, + from ./../download/download_wrapper.h:41, + from download_constructor.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++/14/bits/stl_algobase.h:65, + from /usr/include/c++/14/bits/hashtable_policy.h:36, + from /usr/include/c++/14/bits/hashtable.h:35, + from /usr/include/c++/14/bits/unordered_map.h:33, + from /usr/include/c++/14/unordered_map:41, + from /usr/include/c++/14/functional:63: +/usr/include/c++/14/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 ./../protocol/peer_chunks.h:41, + from ./../protocol/peer_connection_base.h:48, + from download_wrapper.cc:47: +../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': +../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] + 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_algobase.h:64, + from /usr/include/c++/14/string:51: +/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here + 284 | struct pair + | ^~~~ In file included from ./../protocol/handshake_manager.h:43, from download_main.cc:44: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] @@ -5513,6 +5583,17 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In file included from ./../protocol/request_list.h:42, + from ./../protocol/peer_connection_base.h:50: +./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': +./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' +./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../download/download_main.h:43, @@ -5531,23 +5612,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 ./../download/download_main.h:43, - from ./../download/download_wrapper.h:41, - from download_constructor.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++/14/bits/stl_algobase.h:65, - from /usr/include/c++/14/bits/hashtable_policy.h:36, - from /usr/include/c++/14/bits/hashtable.h:35, - from /usr/include/c++/14/bits/unordered_map.h:33, - from /usr/include/c++/14/unordered_map:41, - from /usr/include/c++/14/functional:63: -/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] @@ -5562,34 +5626,15 @@ /usr/include/c++/14/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 ./../protocol/peer_chunks.h:41, - from ./../protocol/peer_connection_base.h:48, - from download_wrapper.cc:47: -../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': -../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] - 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_algobase.h:64, - from /usr/include/c++/14/string:51: -/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here - 284 | struct pair - | ^~~~ -In file included from ./../protocol/request_list.h:42, - from ./../protocol/peer_connection_base.h:50: -./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': -./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' -./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' +In file included from ./../download/available_list.h:45, + from ./../download/download_main.h:48: +./../net/address_list.h: At global scope: +./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 62 | struct add_address : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ In file included from ./../protocol/peer_chunks.h:41, from ./../protocol/peer_connection_base.h:48, from download_main.cc:46: @@ -5613,15 +5658,6 @@ 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' -In file included from ./../download/available_list.h:45, - from ./../download/download_main.h:48: -./../net/address_list.h: At global scope: -./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 62 | struct add_address : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] @@ -5637,15 +5673,6 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -download_main.cc: In destructor 'torrent::DownloadMain::~DownloadMain()': -download_main.cc:134:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 134 | throw internal_error("DownloadMain::~DownloadMain(): m_taskTrackerRequest is queued."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -download_main.cc:134:5: note: in C++11 destructors default to 'noexcept' -download_main.cc:141:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 141 | throw internal_error("DownloadMain::~DownloadMain(): m_info->size_pex() != 0."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -download_main.cc:141:5: note: in C++11 destructors default to 'noexcept' download_constructor.cc: At global scope: download_constructor.cc:77:17: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | public std::binary_function { @@ -5683,6 +5710,15 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +download_main.cc: In destructor 'torrent::DownloadMain::~DownloadMain()': +download_main.cc:134:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 134 | throw internal_error("DownloadMain::~DownloadMain(): m_taskTrackerRequest is queued."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +download_main.cc:134:5: note: in C++11 destructors default to 'noexcept' +download_main.cc:141:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 141 | throw internal_error("DownloadMain::~DownloadMain(): m_info->size_pex() != 0."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +download_main.cc:141: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 113 | if (queue->find(item) != queue->end()) @@ -5693,33 +5729,33 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_download.la available_list.lo chunk_selector.lo chunk_statistics.lo delegator.lo download_constructor.lo download_main.lo download_wrapper.lo -lcppunit -lz -lcrypto +/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_download.la available_list.lo chunk_selector.lo chunk_statistics.lo delegator.lo download_constructor.lo download_main.lo download_wrapper.lo -lcppunit -lz -lcrypto libtool: link: ar cr .libs/libsub_download.a .libs/available_list.o .libs/chunk_selector.o .libs/chunk_statistics.o .libs/delegator.o .libs/download_constructor.o .libs/download_main.o .libs/download_wrapper.o libtool: link: ranlib .libs/libsub_download.a libtool: link: ( cd ".libs" && rm -f "libsub_download.la" && ln -s "../libsub_download.la" "libsub_download.la" ) make[4]: Leaving directory '/build/reproducible-path/libtorrent-0.13.8/src/download' Making all in net make[4]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src/net' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o address_list.lo address_list.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o local_addr.lo local_addr.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o listen.lo listen.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o socket_base.lo socket_base.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o socket_datagram.lo socket_datagram.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o socket_fd.lo socket_fd.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o socket_set.lo socket_set.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o socket_stream.lo socket_stream.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o throttle_internal.lo throttle_internal.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o throttle_list.lo throttle_list.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o address_list.lo address_list.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o local_addr.lo local_addr.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o listen.lo listen.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o socket_base.lo socket_base.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o socket_datagram.lo socket_datagram.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o socket_fd.lo socket_fd.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o socket_set.lo socket_set.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o socket_stream.lo socket_stream.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o throttle_internal.lo throttle_internal.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o throttle_list.lo throttle_list.cc +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c address_list.cc -fPIC -DPIC -o .libs/address_list.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c socket_base.cc -fPIC -DPIC -o .libs/socket_base.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c socket_datagram.cc -fPIC -DPIC -o .libs/socket_datagram.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c listen.cc -fPIC -DPIC -o .libs/listen.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c socket_stream.cc -fPIC -DPIC -o .libs/socket_stream.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c local_addr.cc -fPIC -DPIC -o .libs/local_addr.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c socket_fd.cc -fPIC -DPIC -o .libs/socket_fd.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c socket_set.cc -fPIC -DPIC -o .libs/socket_set.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c throttle_internal.cc -fPIC -DPIC -o .libs/throttle_internal.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c socket_base.cc -fPIC -DPIC -o .libs/socket_base.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c socket_fd.cc -fPIC -DPIC -o .libs/socket_fd.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c address_list.cc -fPIC -DPIC -o .libs/address_list.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c local_addr.cc -fPIC -DPIC -o .libs/local_addr.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c socket_stream.cc -fPIC -DPIC -o .libs/socket_stream.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c throttle_list.cc -fPIC -DPIC -o .libs/throttle_list.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c listen.cc -fPIC -DPIC -o .libs/listen.o In file included from throttle_internal.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 { @@ -5795,6 +5831,20 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from throttle_internal.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++/14/bits/stl_algobase.h:65, + from /usr/include/c++/14/bits/hashtable_policy.h:36, + from /usr/include/c++/14/bits/hashtable.h:35, + from /usr/include/c++/14/bits/unordered_map.h:33, + from /usr/include/c++/14/unordered_map:41, + from /usr/include/c++/14/functional:63: +/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ In file included from address_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 { @@ -5870,20 +5920,6 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from throttle_internal.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++/14/bits/stl_algobase.h:65, - from /usr/include/c++/14/bits/hashtable_policy.h:36, - from /usr/include/c++/14/bits/hashtable.h:35, - from /usr/include/c++/14/bits/unordered_map.h:33, - from /usr/include/c++/14/unordered_map:41, - from /usr/include/c++/14/functional:63: -/usr/include/c++/14/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."); @@ -5923,19 +5959,17 @@ /usr/include/c++/14/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -throttle_list.cc: In member function 'void torrent::ThrottleList::disable()': -throttle_list.cc:115:45: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ThrottleNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 115 | std::for_each(begin(), end(), std::mem_fun(&ThrottleNode::clear_quota)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:49, - from ./../torrent/exceptions.h:47, - from throttle_list.cc:41: +throttle_internal.cc: In member function 'void torrent::ThrottleInternal::enable()': +throttle_internal.cc:78:69: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ThrottleInternal]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 78 | std::for_each(m_slaveList.begin(), m_slaveList.end(), std::mem_fun(&ThrottleInternal::enable)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ -throttle_list.cc:116:51: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ThrottleNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 116 | std::for_each(m_splitActive, end(), std::mem_fun(&ThrottleNode::activate)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +throttle_internal.cc: In member function 'void torrent::ThrottleInternal::disable()': +throttle_internal.cc:91:69: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ThrottleInternal]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 91 | std::for_each(m_slaveList.begin(), m_slaveList.end(), std::mem_fun(&ThrottleInternal::disable)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ @@ -5952,30 +5986,11 @@ /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -socket_base.cc: In destructor 'virtual torrent::SocketBase::~SocketBase()': -socket_base.cc:54:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 54 | throw internal_error("SocketBase::~SocketBase() called but m_fd is still valid"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -socket_base.cc:54:5: 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' -throttle_internal.cc: In member function 'void torrent::ThrottleInternal::enable()': -throttle_internal.cc:78:69: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ThrottleInternal]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 78 | std::for_each(m_slaveList.begin(), m_slaveList.end(), std::mem_fun(&ThrottleInternal::enable)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here - 1368 | mem_fun(_Ret (_Tp::*__f)()) - | ^~~~~~~ -throttle_internal.cc: In member function 'void torrent::ThrottleInternal::disable()': -throttle_internal.cc:91:69: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ThrottleInternal]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 91 | std::for_each(m_slaveList.begin(), m_slaveList.end(), std::mem_fun(&ThrottleInternal::disable)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here - 1368 | mem_fun(_Ret (_Tp::*__f)()) - | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) @@ -5983,11 +5998,15 @@ ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435, - from /usr/include/c++/14/string:49: +In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +socket_base.cc: In destructor 'virtual torrent::SocketBase::~SocketBase()': +socket_base.cc:54:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 54 | throw internal_error("SocketBase::~SocketBase() called but m_fd is still valid"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +socket_base.cc:54: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 113 | if (queue->find(item) != queue->end()) @@ -5995,7 +6014,8 @@ ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: +In file included from /usr/include/c++/14/bits/stl_function.h:1435, + from /usr/include/c++/14/string:49: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ @@ -6006,13 +6026,6 @@ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -address_list.cc: In member function 'void torrent::AddressList::parse_address_normal(const torrent::Object::list_type&)': -address_list.cc:67:57: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = const torrent::Object&; _Result = rak::socket_address]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] - 67 | std::for_each(b.begin(), b.end(), rak::on(std::ptr_fun(&AddressList::parse_address), AddressList::add_address(this))); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1123:5: note: declared here - 1123 | 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 113 | if (queue->find(item) != queue->end()) @@ -6025,33 +6038,56 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_net.la address_list.lo local_addr.lo listen.lo socket_base.lo socket_datagram.lo socket_fd.lo socket_set.lo socket_stream.lo throttle_internal.lo throttle_list.lo -lcppunit -lz -lcrypto +address_list.cc: In member function 'void torrent::AddressList::parse_address_normal(const torrent::Object::list_type&)': +address_list.cc:67:57: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = const torrent::Object&; _Result = rak::socket_address]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] + 67 | std::for_each(b.begin(), b.end(), rak::on(std::ptr_fun(&AddressList::parse_address), AddressList::add_address(this))); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1123:5: note: declared here + 1123 | ptr_fun(_Result (*__x)(_Arg)) + | ^~~~~~~ +throttle_list.cc: In member function 'void torrent::ThrottleList::disable()': +throttle_list.cc:115:45: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ThrottleNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 115 | std::for_each(begin(), end(), std::mem_fun(&ThrottleNode::clear_quota)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/string:49, + from ./../torrent/exceptions.h:47, + from throttle_list.cc:41: +/usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here + 1368 | mem_fun(_Ret (_Tp::*__f)()) + | ^~~~~~~ +throttle_list.cc:116:51: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ThrottleNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 116 | std::for_each(m_splitActive, end(), std::mem_fun(&ThrottleNode::activate)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here + 1368 | mem_fun(_Ret (_Tp::*__f)()) + | ^~~~~~~ +/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_net.la address_list.lo local_addr.lo listen.lo socket_base.lo socket_datagram.lo socket_fd.lo socket_set.lo socket_stream.lo throttle_internal.lo throttle_list.lo -lcppunit -lz -lcrypto libtool: link: ar cr .libs/libsub_net.a .libs/address_list.o .libs/local_addr.o .libs/listen.o .libs/socket_base.o .libs/socket_datagram.o .libs/socket_fd.o .libs/socket_set.o .libs/socket_stream.o .libs/throttle_internal.o .libs/throttle_list.o libtool: link: ranlib .libs/libsub_net.a libtool: link: ( cd ".libs" && rm -f "libsub_net.la" && ln -s "../libsub_net.la" "libsub_net.la" ) make[4]: Leaving directory '/build/reproducible-path/libtorrent-0.13.8/src/net' Making all in protocol make[4]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src/protocol' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o extensions.lo extensions.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o handshake.lo handshake.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o handshake_encryption.lo handshake_encryption.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o handshake_manager.lo handshake_manager.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o initial_seed.lo initial_seed.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o peer_connection_base.lo peer_connection_base.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o peer_connection_leech.lo peer_connection_leech.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o peer_connection_metadata.lo peer_connection_metadata.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o peer_factory.lo peer_factory.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o request_list.lo request_list.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c peer_connection_metadata.cc -fPIC -DPIC -o .libs/peer_connection_metadata.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c handshake.cc -fPIC -DPIC -o .libs/handshake.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c peer_factory.cc -fPIC -DPIC -o .libs/peer_factory.o +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o extensions.lo extensions.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o handshake.lo handshake.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o handshake_encryption.lo handshake_encryption.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o handshake_manager.lo handshake_manager.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o initial_seed.lo initial_seed.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o peer_connection_base.lo peer_connection_base.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o peer_connection_leech.lo peer_connection_leech.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o peer_connection_metadata.lo peer_connection_metadata.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o peer_factory.lo peer_factory.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o request_list.lo request_list.cc +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c peer_connection_base.cc -fPIC -DPIC -o .libs/peer_connection_base.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c extensions.cc -fPIC -DPIC -o .libs/extensions.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c peer_connection_leech.cc -fPIC -DPIC -o .libs/peer_connection_leech.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c initial_seed.cc -fPIC -DPIC -o .libs/initial_seed.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c handshake_encryption.cc -fPIC -DPIC -o .libs/handshake_encryption.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c handshake.cc -fPIC -DPIC -o .libs/handshake.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c request_list.cc -fPIC -DPIC -o .libs/request_list.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c peer_connection_base.cc -fPIC -DPIC -o .libs/peer_connection_base.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c handshake_encryption.cc -fPIC -DPIC -o .libs/handshake_encryption.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c peer_connection_metadata.cc -fPIC -DPIC -o .libs/peer_connection_metadata.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c handshake_manager.cc -fPIC -DPIC -o .libs/handshake_manager.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c peer_connection_leech.cc -fPIC -DPIC -o .libs/peer_connection_leech.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c peer_factory.cc -fPIC -DPIC -o .libs/peer_factory.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c initial_seed.cc -fPIC -DPIC -o .libs/initial_seed.o In file included from ./../download/download_main.h:41, from handshake.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] @@ -6129,6 +6165,92 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In file included from peer_connection_base.cc:44: +../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 174 | struct less2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/functional:49, + from ../../rak/functional.h:41: +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 213 | struct greater2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 273 | struct invert : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 279 | struct on_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 299 | struct on2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 320 | struct mem_ptr_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 341 | struct mem_ref_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 352 | struct const_mem_ref_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 395 | struct call_delete : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 408 | class bind1st_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 433 | class bind2nd_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 551 | class mem_fun2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/14/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 ./../download/download_main.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++/14/bits/stl_algobase.h:65, + from /usr/include/c++/14/deque:62: +/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ In file included from request_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 { @@ -6204,12 +6326,14 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from peer_connection_base.cc:44: +In file included from ./../download/download_main.h:41, + from handshake_manager.cc:43: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/functional:49, - from ../../rak/functional.h:41: +In file included from /usr/include/c++/14/string:49, + from ../../rak/socket_address.h:51, + from handshake_manager.cc:39: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -6279,17 +6403,38 @@ /usr/include/c++/14/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 ./../download/download_main.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++/14/bits/stl_algobase.h:65, - from /usr/include/c++/14/deque:62: +In file included from /usr/include/c++/14/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/14/string:47: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ./../download/available_list.h:45, + from extensions.cc:44: +./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 62 | struct add_address : public std::unary_function { + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/refwrap.h:39, + from /usr/include/c++/14/vector:68, + from ./../download/available_list.h:40: +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ In file included from ./../download/chunk_selector.h:41, from peer_connection_metadata.cc:43: ../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': @@ -6307,25 +6452,58 @@ /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ +In file included from ./../torrent/data/block.h:42, + from request_list.cc:44: +./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': +./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' +./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./../download/available_list.h:45, - from extensions.cc:44: + from ./../download/download_main.h:48: +./../net/address_list.h: At global scope: ./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/refwrap.h:39, - from /usr/include/c++/14/vector:68, - from ./../download/available_list.h:40: /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from ./../download/download_main.h:41, - from handshake_manager.cc:43: +In file included from ./../download/available_list.h:45, + from ./../download/download_main.h:48: +./../net/address_list.h: At global scope: +./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 62 | struct add_address : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from peer_chunks.h:41, + from request_list.cc:50: +../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': +../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] + 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_algobase.h:64, + from /usr/include/c++/14/algorithm:60, + from request_list.cc:39: +/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here + 284 | struct pair + | ^~~~ +In file included from peer_connection_leech.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, - from ../../rak/socket_address.h:51, - from handshake_manager.cc:39: + from /usr/include/c++/14/bits/locale_classes.h:40, + from /usr/include/c++/14/bits/ios_base.h:41, + from /usr/include/c++/14/ios:44, + from /usr/include/c++/14/istream:40, + from /usr/include/c++/14/sstream:40, + from peer_connection_leech.cc:40: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -6395,31 +6573,11 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from ./../torrent/data/block.h:42, - from request_list.cc:44: -./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': -./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' -./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../download/download_main.h:41, - from initial_seed.h:40, - from initial_seed.cc:45: + from extensions.cc:45: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:49, - from ./../torrent/download/choke_group.h:40, - from initial_seed.cc:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -6489,42 +6647,14 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from peer_chunks.h:41, - from request_list.cc:50: -../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': -../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] - 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_algobase.h:64, - from /usr/include/c++/14/algorithm:60, - from request_list.cc:39: -/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here - 284 | struct pair - | ^~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from ./../download/download_main.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++/14/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/14/string:47: -/usr/include/c++/14/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 ./../download/download_main.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++/14/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/14/string:47: +In file included from /usr/include/c++/14/bits/stl_algobase.h:65, + from /usr/include/c++/14/vector:62: /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -6533,88 +6663,30 @@ 56 | throw torrent::internal_error("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 peer_connection_leech.cc:41: +In file included from ./../download/download_main.h:41, + from initial_seed.h:40, + from initial_seed.cc:45: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, - from /usr/include/c++/14/bits/locale_classes.h:40, - from /usr/include/c++/14/bits/ios_base.h:41, - from /usr/include/c++/14/ios:44, - from /usr/include/c++/14/istream:40, - from /usr/include/c++/14/sstream:40, - from peer_connection_leech.cc:40: -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 213 | struct greater2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from ./../torrent/utils/ranges.h:44, - from ./../torrent/data/download_data.h:45, - from ./../download/chunk_selector.h:44: -../../rak/functional.h: At global scope: -../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 174 | struct less2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:49: + from ./../torrent/download/choke_group.h:40, + from initial_seed.cc:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 273 | struct invert : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 279 | struct on_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 299 | struct on2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 320 | struct mem_ptr_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ -../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 341 | struct mem_ref_t : public std::unary_function { - | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 352 | struct const_mem_ref_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/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 { - | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -6627,18 +6699,12 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/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 { - | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -6651,9 +6717,6 @@ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -/usr/include/c++/14/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 { | ^~~~~~~~~~~~~~ @@ -6669,12 +6732,6 @@ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ -../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 433 | class bind2nd_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ @@ -6684,17 +6741,47 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 551 | class mem_fun2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from ./../download/download_main.h:41, - from extensions.cc:45: +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from ./../download/download_main.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++/14/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/14/string:47: +/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from request_list.h:46, + from request_list.cc:51: +../../rak/priority_queue.h: At global scope: +../../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++/14/bits/stl_algobase.h:65: +/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ./../torrent/utils/ranges.h:44, + from ./../torrent/data/download_data.h:45, + from ./../download/chunk_selector.h:44: +../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/string:49: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -6704,36 +6791,39 @@ /usr/include/c++/14/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 ./../download/download_main.h:43, - from peer_connection_metadata.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++/14/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/14/string:47: -/usr/include/c++/14/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 { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from ./../download/download_main.h:52: +./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': +./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here + 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) + | ^~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -6776,53 +6866,21 @@ /usr/include/c++/14/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 request_list.h:46, - from request_list.cc:51: -../../rak/priority_queue.h: At global scope: -../../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++/14/bits/stl_algobase.h:65: -/usr/include/c++/14/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 ./../download/download_main.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++/14/bits/stl_algobase.h:65, - from /usr/include/c++/14/vector:62: -/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from ./../download/available_list.h:45, - from ./../download/download_main.h:48: -./../net/address_list.h: At global scope: -./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 62 | struct add_address : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ +In file included from ./../download/download_main.h:52: +./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': +./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here + 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) + | ^~~~~~~ +./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ request_list.cc: In destructor 'torrent::RequestList::~RequestList()': request_list.cc:118:5: warning: 'throw' will always call 'terminate' [-Wterminate] 118 | throw internal_error("request dtor m_transfer != NULL"); @@ -6862,97 +6920,6 @@ request_list.cc:268:62: warning: comparison of integer expressions of different signedness: 'std::__iterator_traits, void>::difference_type' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 268 | if (std::distance(m_queues.begin(itr.first), itr.second) < m_last_unordered_position) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -request_list.cc: At global scope: -request_list.cc:367:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 367 | struct equals_reservee : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from ./../download/available_list.h:45, - from ./../download/download_main.h:48: -./../net/address_list.h: At global scope: -./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 62 | struct add_address : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -In file included from ./../download/available_list.h:45, - from ./../download/download_main.h:48: -./../net/address_list.h: At global scope: -./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 62 | struct add_address : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from peer_chunks.h:41, - from peer_connection_base.h:48, - from peer_connection_leech.h:40, - from peer_factory.cc:40: -../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': -../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] - 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_algobase.h:64, - from /usr/include/c++/14/string:51, - from ./../torrent/exceptions.h:47, - from ./../net/socket_stream.h:43, - from peer_connection_base.h:41: -/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here - 284 | struct pair - | ^~~~ -In file included from ./../download/available_list.h:45, - from ./../download/download_main.h:48: -./../net/address_list.h: At global scope: -./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 62 | struct add_address : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -In file included from ./../download/download_main.h:52: -./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': -./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here - 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) - | ^~~~~~~ -./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from ./../download/download_main.h:52: -./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': -./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here - 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) - | ^~~~~~~ -./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from ./../data/chunk_iterator.h:40, from peer_connection_base.cc:47: ./../data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': @@ -6969,17 +6936,48 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from request_list.h:42, - from peer_connection_base.h:50: -./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': -./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' -./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' +request_list.cc: At global scope: +request_list.cc:367:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 367 | struct equals_reservee : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/14/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 ./../download/download_main.h:43, + from peer_connection_metadata.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++/14/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/14/string:47: +/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from ./../download/chunk_selector.h:41, + from peer_connection_base.cc:49: +../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': +../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] + 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/tuple:38, + from /usr/include/c++/14/functional:53: +/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here + 284 | struct pair + | ^~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] @@ -6988,21 +6986,10 @@ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ -./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from ./../download/download_main.h:52: -./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': -./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here - 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) - | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7010,37 +6997,9 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from ./../globals.h:41, - from request_list.h:46: -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from ./../download/chunk_selector.h:41, - from peer_connection_base.cc:49: -../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': -../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] - 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/tuple:38, - from /usr/include/c++/14/functional:53: -/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here - 284 | struct pair - | ^~~~ -In file included from ./../protocol/peer_chunks.h:41, - from ./../protocol/peer_connection_base.h:48, - from extensions.cc:47: -../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': -../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] - 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_algobase.h:64: -/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here - 284 | struct pair - | ^~~~ -In file included from ./../download/chunk_selector.h:41, - from peer_connection_leech.cc:45: +In file included from peer_chunks.h:41, + from peer_connection_base.h:48, + from handshake_manager.cc:51: ../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); @@ -7067,30 +7026,6 @@ /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -In file included from peer_chunks.h:41, - from peer_connection_base.h:48, - from peer_connection_leech.h:40, - from initial_seed.cc:46: -../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': -../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] - 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_algobase.h:64, - from /usr/include/c++/14/string:51: -/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here - 284 | struct pair - | ^~~~ -In file included from ./../protocol/request_list.h:42, - from ./../protocol/peer_connection_base.h:50: -./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': -./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' -./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./../torrent/data/block_transfer.h:132:5: 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."); @@ -7107,51 +7042,42 @@ 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' -In file included from ./../download/download_main.h:52: -./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': -./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here - 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) - | ^~~~~~~ -./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/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/download_main.h:43, - from peer_connection_leech.cc:47: -../../rak/priority_queue.h: At global scope: -../../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++/14/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/14/string:47: -/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ +In file included from ./../protocol/peer_chunks.h:41, + from ./../protocol/peer_connection_base.h:48, + from extensions.cc:47: +../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': +../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] + 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_algobase.h:64: +/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here + 284 | struct pair + | ^~~~ +In file included from ./../download/available_list.h:45, + from ./../download/download_main.h:48: +./../net/address_list.h: At global scope: +./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 62 | struct add_address : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ In file included from peer_chunks.h:41, from peer_connection_base.h:48, - from handshake_manager.cc:51: + from peer_connection_leech.h:40, + from peer_factory.cc:40: ../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, - from /usr/include/c++/14/string:51: + from /usr/include/c++/14/string:51, + from ./../torrent/exceptions.h:47, + from ./../net/socket_stream.h:43, + from peer_connection_base.h:41: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' handshake.cc: In destructor 'virtual torrent::Handshake::~Handshake()': handshake.cc:108:5: warning: 'throw' will always call 'terminate' [-Wterminate] 108 | throw internal_error("Handshake m_taskTimeout bork bork bork."); @@ -7161,8 +7087,8 @@ 111 | throw internal_error("Handshake dtor called but m_fd is still open."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ handshake.cc:111:5: note: in C++11 destructors default to 'noexcept' -In file included from request_list.h:42, - from peer_connection_base.h:50: +In file included from ./../protocol/request_list.h:42, + from ./../protocol/peer_connection_base.h:50: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); @@ -7182,29 +7108,19 @@ /usr/include/c++/14/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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from ./../download/available_list.h:45, - from ./../download/download_main.h:48: -./../net/address_list.h: At global scope: -./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 62 | struct add_address : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ +In file included from ./../download/chunk_selector.h:41, + from peer_connection_leech.cc:45: +../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': +../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] + 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_algobase.h:64, + from /usr/include/c++/14/string:51: +/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here + 284 | struct pair + | ^~~~ In file included from request_list.h:42, - from peer_connection_base.h:50, - from peer_connection_metadata.h:40, - from peer_connection_metadata.cc:55: + from peer_connection_base.h:50: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); @@ -7214,26 +7130,13 @@ 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132: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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/c++/14/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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ +In file included from ./../globals.h:41, + from request_list.h:46: +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../download/available_list.h:45, from ./../download/download_main.h:48: ./../net/address_list.h: At global scope: @@ -7243,6 +7146,28 @@ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from ./../download/available_list.h:45, + from ./../download/download_main.h:48: +./../net/address_list.h: At global scope: +./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 62 | struct add_address : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from ./../download/download_main.h:43, + from peer_connection_leech.cc:47: +../../rak/priority_queue.h: At global scope: +../../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++/14/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/14/string:47: +/usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) @@ -7253,6 +7178,39 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ./../download/download_main.h:52: +./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': +./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here + 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) + | ^~~~~~~ +./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +In file included from peer_chunks.h:41, + from peer_connection_base.h:48, + from peer_connection_leech.h:40, + from initial_seed.cc:46: +../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': +../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] + 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_algobase.h:64, + from /usr/include/c++/14/string:51: +/usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here + 284 | struct pair + | ^~~~ In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] @@ -7282,6 +7240,36 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +In file included from request_list.h:42, + from peer_connection_base.h:50: +./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': +./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' +./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../torrent/data/block_transfer.h:132: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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +In file included from ./../download/available_list.h:45, + from ./../download/download_main.h:48: +./../net/address_list.h: At global scope: +./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 62 | struct add_address : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ In file included from ./../torrent/data/block.h:42, from peer_connection_base.cc:54: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': @@ -7293,10 +7281,20 @@ 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132: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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from request_list.h:42, from peer_connection_base.h:50, - from peer_connection_leech.h:40, - from peer_connection_leech.cc:58: + from peer_connection_metadata.h:40, + from peer_connection_metadata.cc:55: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); @@ -7306,6 +7304,31 @@ 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' +In file included from ./../download/download_main.h:52: +./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': +./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here + 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) + | ^~~~~~~ +./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/c++/14/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 113 | if (queue->find(item) != queue->end()) @@ -7316,6 +7339,19 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +In file included from request_list.h:42, + from peer_connection_base.h:50, + from peer_connection_leech.h:40, + from peer_connection_leech.cc:58: +./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': +./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' +./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./../torrent/data/block_transfer.h:132: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 113 | if (queue->find(item) != queue->end()) @@ -7326,19 +7362,19 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_protocol.la extensions.lo handshake.lo handshake_encryption.lo handshake_manager.lo initial_seed.lo peer_connection_base.lo peer_connection_leech.lo peer_connection_metadata.lo peer_factory.lo request_list.lo -lcppunit -lz -lcrypto +/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_protocol.la extensions.lo handshake.lo handshake_encryption.lo handshake_manager.lo initial_seed.lo peer_connection_base.lo peer_connection_leech.lo peer_connection_metadata.lo peer_factory.lo request_list.lo -lcppunit -lz -lcrypto libtool: link: ar cr .libs/libsub_protocol.a .libs/extensions.o .libs/handshake.o .libs/handshake_encryption.o .libs/handshake_manager.o .libs/initial_seed.o .libs/peer_connection_base.o .libs/peer_connection_leech.o .libs/peer_connection_metadata.o .libs/peer_factory.o .libs/request_list.o libtool: link: ranlib .libs/libsub_protocol.a libtool: link: ( cd ".libs" && rm -f "libsub_protocol.la" && ln -s "../libsub_protocol.la" "libsub_protocol.la" ) make[4]: Leaving directory '/build/reproducible-path/libtorrent-0.13.8/src/protocol' Making all in tracker make[4]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src/tracker' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker_dht.lo tracker_dht.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker_http.lo tracker_http.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker_udp.lo tracker_udp.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c tracker_udp.cc -fPIC -DPIC -o .libs/tracker_udp.o +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker_dht.lo tracker_dht.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker_http.lo tracker_http.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker_udp.lo tracker_udp.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c tracker_http.cc -fPIC -DPIC -o .libs/tracker_http.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c tracker_dht.cc -fPIC -DPIC -o .libs/tracker_dht.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c tracker_udp.cc -fPIC -DPIC -o .libs/tracker_udp.o In file included from tracker_udp.cc:47: ./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { @@ -7547,16 +7583,16 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_tracker.la tracker_dht.lo tracker_http.lo tracker_udp.lo -lcppunit -lz -lcrypto +/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_tracker.la tracker_dht.lo tracker_http.lo tracker_udp.lo -lcppunit -lz -lcrypto libtool: link: ar cr .libs/libsub_tracker.a .libs/tracker_dht.o .libs/tracker_http.o .libs/tracker_udp.o libtool: link: ranlib .libs/libsub_tracker.a libtool: link: ( cd ".libs" && rm -f "libsub_tracker.la" && ln -s "../libsub_tracker.la" "libsub_tracker.la" ) make[4]: Leaving directory '/build/reproducible-path/libtorrent-0.13.8/src/tracker' Making all in utils make[4]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src/utils' -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o diffie_hellman.lo diffie_hellman.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o instrumentation.lo instrumentation.cc -/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o sha_fast.lo sha_fast.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o diffie_hellman.lo diffie_hellman.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o instrumentation.lo instrumentation.cc +/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o sha_fast.lo sha_fast.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c diffie_hellman.cc -fPIC -DPIC -o .libs/diffie_hellman.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c sha_fast.cc -fPIC -DPIC -o .libs/sha_fast.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c instrumentation.cc -fPIC -DPIC -o .libs/instrumentation.o @@ -7589,19 +7625,19 @@ /usr/include/openssl/dh.h:267:28: note: declared here 267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ -/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_utils.la diffie_hellman.lo instrumentation.lo sha_fast.lo -lcppunit -lz -lcrypto +/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z,relro -L/usr/lib -L/usr/lib -o libsub_utils.la diffie_hellman.lo instrumentation.lo sha_fast.lo -lcppunit -lz -lcrypto libtool: link: ar cr .libs/libsub_utils.a .libs/diffie_hellman.o .libs/instrumentation.o .libs/sha_fast.o libtool: link: ranlib .libs/libsub_utils.a libtool: link: ( cd ".libs" && rm -f "libsub_utils.la" && ln -s "../libsub_utils.la" "libsub_utils.la" ) make[4]: Leaving directory '/build/reproducible-path/libtorrent-0.13.8/src/utils' make[4]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src' -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o globals.lo globals.cc -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o manager.lo manager.cc -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o thread_disk.lo thread_disk.cc -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o thread_main.lo thread_main.cc +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o globals.lo globals.cc +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o manager.lo manager.cc +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o thread_disk.lo thread_disk.cc +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o thread_main.lo thread_main.cc +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c thread_main.cc -fPIC -DPIC -o .libs/thread_main.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c thread_disk.cc -fPIC -DPIC -o .libs/thread_disk.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c globals.cc -fPIC -DPIC -o .libs/globals.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c thread_main.cc -fPIC -DPIC -o .libs/thread_main.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c manager.cc -fPIC -DPIC -o .libs/manager.o In file included from ../rak/priority_queue_default.h:42, from globals.h:41, @@ -7643,6 +7679,18 @@ 56 | throw torrent::internal_error("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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435, + from /usr/include/c++/14/functional:49: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from download/download_main.h:41, from download/download_wrapper.h:41, from manager.cc:41: @@ -7721,31 +7769,6 @@ /usr/include/c++/14/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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435, - from /usr/include/c++/14/functional:49: -/usr/include/c++/14/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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435, - from /usr/include/c++/14/bits/refwrap.h:39, - from /usr/include/c++/14/deque:67: -/usr/include/c++/14/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/download_main.h:43: @@ -7762,6 +7785,19 @@ 56 | throw torrent::internal_error("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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435, + from /usr/include/c++/14/bits/refwrap.h:39, + from /usr/include/c++/14/deque:67: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from ./download/available_list.h:45, from download/download_main.h:48: ./net/address_list.h: At global scope: @@ -7811,7 +7847,7 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -version-info 21:0:0 -Wl,-z,relro -L/usr/lib -L/usr/lib -o libtorrent.la -rpath /usr/lib/x86_64-linux-gnu globals.lo manager.lo thread_disk.lo thread_main.lo torrent/libsub_torrent.la torrent/data/libsub_torrentdata.la torrent/download/libsub_torrentdownload.la torrent/net/libsub_torrentnet.la torrent/peer/libsub_torrentpeer.la torrent/utils/libsub_torrentutils.la data/libsub_data.la dht/libsub_dht.la download/libsub_download.la net/libsub_net.la protocol/libsub_protocol.la tracker/libsub_tracker.la utils/libsub_utils.la -lcppunit -lz -lcrypto +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -version-info 21:0:0 -Wl,-z,relro -L/usr/lib -L/usr/lib -o libtorrent.la -rpath /usr/lib/x86_64-linux-gnu globals.lo manager.lo thread_disk.lo thread_main.lo torrent/libsub_torrent.la torrent/data/libsub_torrentdata.la torrent/download/libsub_torrentdownload.la torrent/net/libsub_torrentnet.la torrent/peer/libsub_torrentpeer.la torrent/utils/libsub_torrentutils.la data/libsub_data.la dht/libsub_dht.la download/libsub_download.la net/libsub_net.la protocol/libsub_protocol.la tracker/libsub_tracker.la utils/libsub_utils.la -lcppunit -lz -lcrypto libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o .libs/globals.o .libs/manager.o .libs/thread_disk.o .libs/thread_main.o -Wl,--whole-archive torrent/.libs/libsub_torrent.a torrent/data/.libs/libsub_torrentdata.a torrent/download/.libs/libsub_torrentdownload.a torrent/net/.libs/libsub_torrentnet.a torrent/peer/.libs/libsub_torrentpeer.a torrent/utils/.libs/libsub_torrentutils.a data/.libs/libsub_data.a dht/.libs/libsub_dht.a download/.libs/libsub_download.a net/.libs/libsub_net.a protocol/.libs/libsub_protocol.a tracker/.libs/libsub_tracker.a utils/.libs/libsub_utils.a -Wl,--no-whole-archive -L/usr/lib -lcppunit -lz -lcrypto -L/usr/lib/gcc/x86_64-linux-gnu/14 -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/14/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crtn.o -g -O2 -fstack-protector-strong -g -Wl,-z -Wl,relro -Wl,-soname -Wl,libtorrent.so.21 -o .libs/libtorrent.so.21.0.0 libtool: link: (cd ".libs" && rm -f "libtorrent.so.21" && ln -s "libtorrent.so.21.0.0" "libtorrent.so.21") libtool: link: (cd ".libs" && rm -f "libtorrent.so" && ln -s "libtorrent.so.21.0.0" "libtorrent.so") @@ -7905,6 +7941,7 @@ g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrentTest-log_test.o `test -f 'torrent/utils/log_test.cc' || echo './'`torrent/utils/log_test.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrentTest-log_buffer_test.o `test -f 'torrent/utils/log_buffer_test.cc' || echo './'`torrent/utils/log_buffer_test.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrentTest-net_test.o `test -f 'torrent/utils/net_test.cc' || echo './'`torrent/utils/net_test.cc +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrentTest-option_strings_test.o `test -f 'torrent/utils/option_strings_test.cc' || echo './'`torrent/utils/option_strings_test.cc In file included from ../rak/priority_queue_default.h:42, from ../src/globals.h:41, from torrent/utils/log_buffer_test.cc:5: @@ -7918,6 +7955,30 @@ /usr/include/c++/14/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +In file included from ../src/data/chunk_list.h:44, + from data/chunk_list_test.h:3, + from data/chunk_list_test.cc:3: +../src/data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': +../src/data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/refwrap.h:39, + from /usr/include/c++/14/deque:67, + from /usr/include/cppunit/Message.h:11, + from /usr/include/cppunit/Exception.h:5, + from /usr/include/cppunit/TestCaller.h:4, + from /usr/include/cppunit/extensions/HelperMacros.h:9, + from data/chunk_list_test.h:1: +/usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here + 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) + | ^~~~~~~~~~~ +../src/data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/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."); @@ -8005,30 +8066,6 @@ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from ../src/data/chunk_list.h:44, - from data/chunk_list_test.h:3, - from data/chunk_list_test.cc:3: -../src/data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': -../src/data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/refwrap.h:39, - from /usr/include/c++/14/deque:67, - from /usr/include/cppunit/Message.h:11, - from /usr/include/cppunit/Exception.h:5, - from /usr/include/cppunit/TestCaller.h:4, - from /usr/include/cppunit/extensions/HelperMacros.h:9, - from data/chunk_list_test.h:1: -/usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here - 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) - | ^~~~~~~~~~~ -../src/data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from ../src/protocol/request_list.h:42, from protocol/test_request_list.h:3, from protocol/test_request_list.cc:3: @@ -8037,11 +8074,11 @@ 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrentTest-option_strings_test.o `test -f 'torrent/utils/option_strings_test.cc' || echo './'`torrent/utils/option_strings_test.cc ../src/torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrentTest-test_extents.o `test -f 'torrent/utils/test_extents.cc' || echo './'`torrent/utils/test_extents.cc In file included from ../rak/priority_queue_default.h:42, from ../src/globals.h:41, from ../src/protocol/request_list.h:46: @@ -8064,19 +8101,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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435, - from /usr/include/c++/14/string:49: -/usr/include/c++/14/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../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrentTest-test_extents.o `test -f 'torrent/utils/test_extents.cc' || echo './'`torrent/utils/test_extents.cc In file included from ../src/protocol/peer_chunks.h:41, from protocol/test_request_list.cc:8: ../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': @@ -8087,6 +8111,13 @@ /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ +In file included from ../src/globals.h:41, + from data/hash_queue_test.cc:12: +../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("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 ../src/protocol/request_list.h:42, from torrent/net/test_socket_address_key.h:3, from torrent/net/test_socket_address_key.cc:7: @@ -8099,6 +8130,18 @@ 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/torrent/data/block_transfer.h:132: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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435, + from /usr/include/c++/14/string:49: +/usr/include/c++/14/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 ../src/globals.h:41, from ../src/protocol/request_list.h:46: @@ -8134,13 +8177,6 @@ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from ../src/globals.h:41, - from data/hash_queue_test.cc:12: -../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("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 113 | if (queue->find(item) != queue->end()) @@ -8156,6 +8192,8 @@ g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrentTest-test_queue_buckets.o `test -f 'torrent/utils/test_queue_buckets.cc' || echo './'`torrent/utils/test_queue_buckets.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrentTest-test_uri_parser.o `test -f 'torrent/utils/test_uri_parser.cc' || echo './'`torrent/utils/test_uri_parser.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrentTest-signal_bitfield_test.o `test -f 'torrent/utils/signal_bitfield_test.cc' || echo './'`torrent/utils/signal_bitfield_test.cc +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrentTest-thread_base_test.o `test -f 'torrent/utils/thread_base_test.cc' || echo './'`torrent/utils/thread_base_test.cc +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-http_test.o `test -f 'torrent/http_test.cc' || echo './'`torrent/http_test.cc In file included from ../src/protocol/request_list.h:42, from torrent/utils/test_queue_buckets.h:3, from torrent/utils/test_queue_buckets.cc:3: @@ -8190,8 +8228,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../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrentTest-thread_base_test.o `test -f 'torrent/utils/thread_base_test.cc' || echo './'`torrent/utils/thread_base_test.cc -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-http_test.o `test -f 'torrent/http_test.cc' || echo './'`torrent/http_test.cc +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-object_test.o `test -f 'torrent/object_test.cc' || echo './'`torrent/object_test.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 113 | if (queue->find(item) != queue->end()) @@ -8205,11 +8242,22 @@ /usr/include/c++/14/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../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-object_test.o `test -f 'torrent/object_test.cc' || echo './'`torrent/object_test.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-object_test_utils.o `test -f 'torrent/object_test_utils.cc' || echo './'`torrent/object_test_utils.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-object_static_map_test.o `test -f 'torrent/object_static_map_test.cc' || echo './'`torrent/object_static_map_test.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-object_stream_test.o `test -f 'torrent/object_stream_test.cc' || echo './'`torrent/object_stream_test.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-tracker_controller_test.o `test -f 'torrent/tracker_controller_test.cc' || echo './'`torrent/tracker_controller_test.cc +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-tracker_controller_features.o `test -f 'torrent/tracker_controller_features.cc' || echo './'`torrent/tracker_controller_features.cc +In destructor 'virtual StringStream::~StringStream()', + inlined from 'virtual StringStream::~StringStream()' at torrent/http_test.cc:27:42, + inlined from 'void HttpTest::test_basic()' at torrent/http_test.cc:93:10: +torrent/http_test.cc:27:42: warning: array subscript 'StringStream[0]' is partly outside array bounds of 'unsigned char [392]' [-Warray-bounds=] + 27 | ~StringStream() { *m_destroyed = true; } + | ^ +torrent/http_test.cc: In member function 'void HttpTest::test_basic()': +torrent/http_test.cc:79:45: note: object of size 392 allocated by 'operator new' + 79 | std::stringstream* http_stream = new std::stringstream; + | ^~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-tracker_controller_requesting.o `test -f 'torrent/tracker_controller_requesting.cc' || echo './'`torrent/tracker_controller_requesting.cc In file included from ../src/protocol/extensions.h:48, from torrent/object_static_map_test.cc:6: ../src/net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] @@ -8221,7 +8269,7 @@ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-tracker_controller_features.o `test -f 'torrent/tracker_controller_features.cc' || echo './'`torrent/tracker_controller_features.cc +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-tracker_list_test.o `test -f 'torrent/tracker_list_test.cc' || echo './'`torrent/tracker_list_test.cc In file included from ../rak/priority_queue_default.h:42, from torrent/tracker_controller_test.cc:6: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] @@ -8243,38 +8291,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 destructor 'virtual StringStream::~StringStream()', - inlined from 'virtual StringStream::~StringStream()' at torrent/http_test.cc:27:42, - inlined from 'void HttpTest::test_basic()' at torrent/http_test.cc:93:10: -torrent/http_test.cc:27:42: warning: array subscript 'StringStream[0]' is partly outside array bounds of 'unsigned char [392]' [-Warray-bounds=] - 27 | ~StringStream() { *m_destroyed = true; } - | ^ -torrent/http_test.cc: In member function 'void HttpTest::test_basic()': -torrent/http_test.cc:79:45: note: object of size 392 allocated by 'operator new' - 79 | std::stringstream* http_stream = new std::stringstream; - | ^~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-tracker_controller_requesting.o `test -f 'torrent/tracker_controller_requesting.cc' || echo './'`torrent/tracker_controller_requesting.cc -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-tracker_list_test.o `test -f 'torrent/tracker_list_test.cc' || echo './'`torrent/tracker_list_test.cc -torrent/tracker_controller_test.cc: In member function 'void tracker_controller_test::test_timeout_lacking_usable()': -torrent/tracker_controller_test.cc:495:71: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 495 | std::for_each(tracker_list.begin(), tracker_list.end(), std::mem_fun(&torrent::Tracker::disable)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/string:49: -/usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here - 1368 | mem_fun(_Ret (_Tp::*__f)()) - | ^~~~~~~ -../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../rak/priority_queue_default.h:113:18: required from here - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/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../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-tracker_list_features_test.o `test -f 'torrent/tracker_list_features_test.cc' || echo './'`torrent/tracker_list_features_test.cc In file included from ../rak/priority_queue_default.h:42, from torrent/tracker_controller_features.cc:6: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] @@ -8296,6 +8312,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../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-tracker_list_features_test.o `test -f 'torrent/tracker_list_features_test.cc' || echo './'`torrent/tracker_list_features_test.cc In file included from ../rak/priority_queue_default.h:42, from torrent/tracker_controller_requesting.cc:6: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] @@ -8317,6 +8334,38 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +torrent/tracker_controller_test.cc: In member function 'void tracker_controller_test::test_timeout_lacking_usable()': +torrent/tracker_controller_test.cc:495:71: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 495 | std::for_each(tracker_list.begin(), tracker_list.end(), std::mem_fun(&torrent::Tracker::disable)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/string:49: +/usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here + 1368 | mem_fun(_Ret (_Tp::*__f)()) + | ^~~~~~~ +../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../rak/priority_queue_default.h:113:18: required from here + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/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../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-tracker_timeout_test.o `test -f 'torrent/tracker_timeout_test.cc' || echo './'`torrent/tracker_timeout_test.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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435, + from /usr/include/c++/14/string:49: +/usr/include/c++/14/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from torrent/tracker_list_test.cc:4: ../src/net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { @@ -8327,6 +8376,7 @@ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker/LibTorrentTest-tracker_http_test.o `test -f 'tracker/tracker_http_test.cc' || echo './'`tracker/tracker_http_test.cc In file included from ../rak/priority_queue_default.h:42, from ../src/globals.h:41, from torrent/tracker_list_test.cc:6: @@ -8343,20 +8393,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' -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrentTest-tracker_timeout_test.o `test -f 'torrent/tracker_timeout_test.cc' || echo './'`torrent/tracker_timeout_test.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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435, - from /usr/include/c++/14/string:49: -/usr/include/c++/14/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../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker/LibTorrentTest-tracker_http_test.o `test -f 'tracker/tracker_http_test.cc' || echo './'`tracker/tracker_http_test.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 113 | if (queue->find(item) != queue->end()) @@ -8409,17 +8445,6 @@ /usr/include/c++/14/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 - 113 | if (queue->find(item) != queue->end()) - | ~~~~~~~~~~~^~~~~~ -../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/14/bits/stl_function.h:1435: -/usr/include/c++/14/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 torrent/tracker_timeout_test.cc:6: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] @@ -8448,12 +8473,23 @@ ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/14/bits/stl_function.h:1435: +/usr/include/c++/14/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 + 113 | if (queue->find(item) != queue->end()) + | ~~~~~~~~~~~^~~~~~ +../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/string:49: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -lcppunit -ldl -Wl,-z,relro -L/usr/lib -L/usr/lib -o LibTorrentTest ../src/LibTorrentTest-thread_disk.o rak/LibTorrentTest-allocators_test.o rak/LibTorrentTest-ranges_test.o data/LibTorrentTest-chunk_list_test.o data/LibTorrentTest-hash_check_queue_test.o data/LibTorrentTest-hash_queue_test.o protocol/LibTorrentTest-test_request_list.o torrent/net/LibTorrentTest-test_socket_address_key.o torrent/utils/LibTorrentTest-log_test.o torrent/utils/LibTorrentTest-log_buffer_test.o torrent/utils/LibTorrentTest-net_test.o torrent/utils/LibTorrentTest-option_strings_test.o torrent/utils/LibTorrentTest-test_extents.o torrent/utils/LibTorrentTest-test_queue_buckets.o torrent/utils/LibTorrentTest-test_uri_parser.o torrent/utils/LibTorrentTest-signal_bitfield_test.o torrent/utils/LibTorrentTest-thread_base_test.o torrent/LibTorrentTest-http_test.o torrent/LibTorrentTest-object_test.o torrent/LibTorrentTest-object_test_utils.o torrent/LibTorrentTest-object_static_map_test.o torrent/LibTorrentTest-object_stream_test.o torrent/LibTorrentTest-tracker_controller_test.o torrent/LibTorrentTest-tracker_controller_features.o torrent/LibTorrentTest-tracker_controller_requesting.o torrent/LibTorrentTest-tracker_list_test.o torrent/LibTorrentTest-tracker_list_features_test.o torrent/LibTorrentTest-tracker_timeout_test.o tracker/LibTorrentTest-tracker_http_test.o LibTorrentTest-main.o ../src/libtorrent.la ../src/torrent/libsub_torrent.la ../src/torrent/data/libsub_torrentdata.la ../src/torrent/download/libsub_torrentdownload.la ../src/torrent/peer/libsub_torrentpeer.la ../src/data/libsub_data.la ../src/dht/libsub_dht.la ../src/net/libsub_net.la ../src/protocol/libsub_protocol.la ../src/download/libsub_download.la ../src/tracker/libsub_tracker.la ../src/utils/libsub_utils.la ../src/torrent/utils/libsub_torrentutils.la -lcppunit -lz -lcrypto +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -lcppunit -ldl -Wl,-z,relro -L/usr/lib -L/usr/lib -o LibTorrentTest ../src/LibTorrentTest-thread_disk.o rak/LibTorrentTest-allocators_test.o rak/LibTorrentTest-ranges_test.o data/LibTorrentTest-chunk_list_test.o data/LibTorrentTest-hash_check_queue_test.o data/LibTorrentTest-hash_queue_test.o protocol/LibTorrentTest-test_request_list.o torrent/net/LibTorrentTest-test_socket_address_key.o torrent/utils/LibTorrentTest-log_test.o torrent/utils/LibTorrentTest-log_buffer_test.o torrent/utils/LibTorrentTest-net_test.o torrent/utils/LibTorrentTest-option_strings_test.o torrent/utils/LibTorrentTest-test_extents.o torrent/utils/LibTorrentTest-test_queue_buckets.o torrent/utils/LibTorrentTest-test_uri_parser.o torrent/utils/LibTorrentTest-signal_bitfield_test.o torrent/utils/LibTorrentTest-thread_base_test.o torrent/LibTorrentTest-http_test.o torrent/LibTorrentTest-object_test.o torrent/LibTorrentTest-object_test_utils.o torrent/LibTorrentTest-object_static_map_test.o torrent/LibTorrentTest-object_stream_test.o torrent/LibTorrentTest-tracker_controller_test.o torrent/LibTorrentTest-tracker_controller_features.o torrent/LibTorrentTest-tracker_controller_requesting.o torrent/LibTorrentTest-tracker_list_test.o torrent/LibTorrentTest-tracker_list_features_test.o torrent/LibTorrentTest-tracker_timeout_test.o tracker/LibTorrentTest-tracker_http_test.o LibTorrentTest-main.o ../src/libtorrent.la ../src/torrent/libsub_torrent.la ../src/torrent/data/libsub_torrentdata.la ../src/torrent/download/libsub_torrentdownload.la ../src/torrent/peer/libsub_torrentpeer.la ../src/data/libsub_data.la ../src/dht/libsub_dht.la ../src/net/libsub_net.la ../src/protocol/libsub_protocol.la ../src/download/libsub_download.la ../src/tracker/libsub_tracker.la ../src/utils/libsub_utils.la ../src/torrent/utils/libsub_torrentutils.la -lcppunit -lz -lcrypto libtool: link: g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/libtorrent-0.13.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -fvisibility=hidden -Wl,-z -Wl,relro -o .libs/LibTorrentTest ../src/LibTorrentTest-thread_disk.o rak/LibTorrentTest-allocators_test.o rak/LibTorrentTest-ranges_test.o data/LibTorrentTest-chunk_list_test.o data/LibTorrentTest-hash_check_queue_test.o data/LibTorrentTest-hash_queue_test.o protocol/LibTorrentTest-test_request_list.o torrent/net/LibTorrentTest-test_socket_address_key.o torrent/utils/LibTorrentTest-log_test.o torrent/utils/LibTorrentTest-log_buffer_test.o torrent/utils/LibTorrentTest-net_test.o torrent/utils/LibTorrentTest-option_strings_test.o torrent/utils/LibTorrentTest-test_extents.o torrent/utils/LibTorrentTest-test_queue_buckets.o torrent/utils/LibTorrentTest-test_uri_parser.o torrent/utils/LibTorrentTest-signal_bitfield_test.o torrent/utils/LibTorrentTest-thread_base_test.o torrent/LibTorrentTest-http_test.o torrent/LibTorrentTest-object_test.o torrent/LibTorrentTest-object_test_utils.o torrent/LibTorrentTest-object_static_map_test.o torrent/LibTorrentTest-object_stream_test.o torrent/LibTorrentTest-tracker_controller_test.o torrent/LibTorrentTest-tracker_controller_features.o torrent/LibTorrentTest-tracker_controller_requesting.o torrent/LibTorrentTest-tracker_list_test.o torrent/LibTorrentTest-tracker_list_features_test.o torrent/LibTorrentTest-tracker_timeout_test.o tracker/LibTorrentTest-tracker_http_test.o LibTorrentTest-main.o -ldl -L/usr/lib ../src/.libs/libtorrent.so ../src/torrent/.libs/libsub_torrent.a ../src/torrent/data/.libs/libsub_torrentdata.a ../src/torrent/download/.libs/libsub_torrentdownload.a ../src/torrent/peer/.libs/libsub_torrentpeer.a ../src/data/.libs/libsub_data.a ../src/dht/.libs/libsub_dht.a ../src/net/.libs/libsub_net.a ../src/protocol/.libs/libsub_protocol.a ../src/download/.libs/libsub_download.a ../src/tracker/.libs/libsub_tracker.a ../src/utils/.libs/libsub_utils.a ../src/torrent/utils/.libs/libsub_torrentutils.a -lcppunit -lz -lcrypto /usr/bin/ld: torrent/utils/LibTorrentTest-log_test.o: in function `utils_log_test::test_file_output()': ./test/torrent/utils/log_test.cc:140:(.text+0x3bfc): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' @@ -8588,7 +8624,7 @@ make[3]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src' make[4]: Entering directory '/build/reproducible-path/libtorrent-0.13.8/src' /usr/bin/mkdir -p '/build/reproducible-path/libtorrent-0.13.8/debian/tmp/usr/lib/x86_64-linux-gnu' - /bin/bash ../libtool --mode=install /usr/bin/install -c libtorrent.la '/build/reproducible-path/libtorrent-0.13.8/debian/tmp/usr/lib/x86_64-linux-gnu' + /bin/sh ../libtool --mode=install /usr/bin/install -c libtorrent.la '/build/reproducible-path/libtorrent-0.13.8/debian/tmp/usr/lib/x86_64-linux-gnu' libtool: install: /usr/bin/install -c .libs/libtorrent.so.21.0.0 /build/reproducible-path/libtorrent-0.13.8/debian/tmp/usr/lib/x86_64-linux-gnu/libtorrent.so.21.0.0 libtool: install: (cd /build/reproducible-path/libtorrent-0.13.8/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f libtorrent.so.21.0.0 libtorrent.so.21 || { rm -f libtorrent.so.21 && ln -s libtorrent.so.21.0.0 libtorrent.so.21; }; }) libtool: install: (cd /build/reproducible-path/libtorrent-0.13.8/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f libtorrent.so.21.0.0 libtorrent.so || { rm -f libtorrent.so && ln -s libtorrent.so.21.0.0 libtorrent.so; }; }) @@ -8634,8 +8670,8 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'libtorrent-dev' in '../libtorrent-dev_0.13.8-2.1_amd64.deb'. -dpkg-deb: building package 'libtorrent21t64-dbgsym' in '../libtorrent21t64-dbgsym_0.13.8-2.1_amd64.deb'. dpkg-deb: building package 'libtorrent21t64' in '../libtorrent21t64_0.13.8-2.1_amd64.deb'. +dpkg-deb: building package 'libtorrent21t64-dbgsym' in '../libtorrent21t64-dbgsym_0.13.8-2.1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../libtorrent_0.13.8-2.1_amd64.buildinfo dpkg-genchanges --build=binary -O../libtorrent_0.13.8-2.1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -8643,12 +8679,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/232373/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/232373/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/560308 and its subdirectories -I: Current time: Thu Sep 5 14:58:12 -12 2024 -I: pbuilder-time-stamp: 1725591492 +I: removing directory /srv/workspace/pbuilder/232373 and its subdirectories +I: Current time: Thu Oct 9 23:23:24 +14 2025 +I: pbuilder-time-stamp: 1760001804