Diff of the two buildlogs: -- --- b1/build.log 2024-05-01 11:09:52.042528393 +0000 +++ b2/build.log 2024-05-01 11:11:43.313800792 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Apr 30 23:06:12 -12 2024 -I: pbuilder-time-stamp: 1714561572 +I: Current time: Wed Jun 4 07:32:55 +14 2025 +I: pbuilder-time-stamp: 1748971975 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking rtorrent_0.9.8-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1735894/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/115633/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 Jun 3 17:33 /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/115633/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/115633/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' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='69a3dc96078e450e91605d447a102550' - 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='1735894' - PS1='# ' - PS2='> ' + INVOCATION_ID=ea372bd0c57544c28ffa0317ad86fa93 + 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=115633 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.uWLwBIKx/pbuilderrc_V2gI --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uWLwBIKx/b1 --logfile b1/build.log rtorrent_0.9.8-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + 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.uWLwBIKx/pbuilderrc_DCtI --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uWLwBIKx/b2 --logfile b2/build.log rtorrent_0.9.8-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 22 13:10 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1735894/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 27 17:46 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/115633/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -84,7 +116,7 @@ Depends: bc, debhelper (>= 10), libcppunit-dev, libcurl4-openssl-dev, libncurses5-dev, libncursesw5-dev, libtorrent-dev (>= 0.13.8), libxmlrpc-core-c3-dev, pkg-config dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. -(Reading database ... 19901 files and directories currently installed.) +(Reading database ... 19725 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: @@ -132,29 +164,35 @@ Install the following packages: 2) libbrotli1 [1.1.0-2+b3 (testing)] -3) libcurl4-openssl-dev [8.7.1-3 (testing)] -4) libcurl4t64 [8.7.1-3 (testing)] -5) libldap-2.5-0 [2.5.13+dfsg-5+b3 (testing)] -6) libnghttp2-14 [1.59.0-1 (testing)] -7) libpsl5t64 [0.21.2-1.1 (testing)] -8) librtmp1 [2.4+20151223.gitfa8646d.1-2+b4 (testing)] -9) libsasl2-2 [2.1.28+dfsg1-4+b1 (testing)] -10) libsasl2-modules-db [2.1.28+dfsg1-4+b1 (testing)] -11) libssh2-1t64 [1.11.0-4.1+b2 (testing)] -12) libssl3t64 [3.2.1-3 (testing)] -13) libxmlrpc-core-c3 [1.33.14-11 (testing)] -14) libxmlrpc-core-c3-dev [1.33.14-11 (testing)] +3) libcom-err2 [1.47.0-2.4 (testing)] +4) libcurl4-openssl-dev [8.7.1-3 (testing)] +5) libcurl4t64 [8.7.1-3 (testing)] +6) libgssapi-krb5-2 [1.20.1-5+b1 (testing)] +7) libk5crypto3 [1.20.1-5+b1 (testing)] +8) libkeyutils1 [1.6.3-3 (testing)] +9) libkrb5-3 [1.20.1-5+b1 (testing)] +10) libkrb5support0 [1.20.1-5+b1 (testing)] +11) libldap-2.5-0 [2.5.13+dfsg-5+b3 (testing)] +12) libnghttp2-14 [1.59.0-1 (testing)] +13) libpsl5t64 [0.21.2-1.1 (testing)] +14) librtmp1 [2.4+20151223.gitfa8646d.1-2+b4 (testing)] +15) libsasl2-2 [2.1.28+dfsg1-4+b1 (testing)] +16) libsasl2-modules-db [2.1.28+dfsg1-4+b1 (testing)] +17) libssh2-1t64 [1.11.0-4.1+b2 (testing)] +18) libssl3t64 [3.2.1-3 (testing)] +19) libxmlrpc-core-c3 [1.33.14-11 (testing)] +20) libxmlrpc-core-c3-dev [1.33.14-11 (testing)] The following NEW packages will be installed: - autoconf{a} automake{a} autopoint{a} autotools-dev{a} bc{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbrotli1{a} libcppunit-1.15-0{a} libcppunit-dev{a} libcurl4-openssl-dev{a} libcurl4t64{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libldap-2.5-0{a} libmagic-mgc{a} libmagic1t64{a} libncurses-dev{a} libncurses6{a} libnghttp2-14{a} libpipeline1{a} libpkgconf3{a} libpsl5t64{a} libreadline8t64{a} librtmp1{a} libsasl2-2{a} libsasl2-modules-db{a} libsigc++-2.0-dev{a} libssh2-1t64{a} libssl3t64{a} libsub-override-perl{a} libtool{a} libtorrent-dev{a} libtorrent21{a} libuchardet0{a} libxml2{a} libxmlrpc-core-c3{a} libxmlrpc-core-c3-dev{a} m4{a} man-db{a} pkg-config{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} readline-common{a} sensible-utils{a} + autoconf{a} automake{a} autopoint{a} autotools-dev{a} bc{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbrotli1{a} libcom-err2{a} libcppunit-1.15-0{a} libcppunit-dev{a} libcurl4-openssl-dev{a} libcurl4t64{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libgssapi-krb5-2{a} libicu72{a} libk5crypto3{a} libkeyutils1{a} libkrb5-3{a} libkrb5support0{a} libldap-2.5-0{a} libmagic-mgc{a} libmagic1t64{a} libncurses-dev{a} libncurses6{a} libnghttp2-14{a} libpipeline1{a} libpkgconf3{a} libpsl5t64{a} libreadline8t64{a} librtmp1{a} libsasl2-2{a} libsasl2-modules-db{a} libsigc++-2.0-dev{a} libssh2-1t64{a} libssl3t64{a} libsub-override-perl{a} libtool{a} libtorrent-dev{a} libtorrent21{a} libuchardet0{a} libxml2{a} libxmlrpc-core-c3{a} libxmlrpc-core-c3-dev{a} m4{a} man-db{a} pkg-config{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} readline-common{a} sensible-utils{a} The following packages will be REMOVED: libssl3{a} The following packages are RECOMMENDED but will NOT be installed: - ca-certificates curl libarchive-cpio-perl libgpm2 libldap-common libltdl-dev libmail-sendmail-perl libsasl2-modules lynx publicsuffix wget -0 packages upgraded, 57 newly installed, 1 to remove and 0 not upgraded. -Need to get 25.4 MB of archives. After unpacking 89.3 MB will be used. + ca-certificates curl krb5-locales libarchive-cpio-perl libgpm2 libldap-common libltdl-dev libmail-sendmail-perl libsasl2-modules lynx publicsuffix wget +0 packages upgraded, 63 newly installed, 1 to remove and 0 not upgraded. +Need to get 26.0 MB of archives. After unpacking 91.4 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main amd64 libssl3t64 amd64 3.2.1-3 [2244 kB] Get: 2 http://deb.debian.org/debian trixie/main amd64 readline-common all 8.2-4 [69.3 kB] @@ -191,43 +229,48 @@ Get: 33 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 34 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.15.3 [901 kB] Get: 35 http://deb.debian.org/debian trixie/main amd64 libbrotli1 amd64 1.1.0-2+b3 [305 kB] -Get: 36 http://deb.debian.org/debian trixie/main amd64 libcppunit-1.15-0 amd64 1.15.1-4+b1 [151 kB] -Get: 37 http://deb.debian.org/debian trixie/main amd64 libcppunit-dev amd64 1.15.1-4+b1 [209 kB] -Get: 38 http://deb.debian.org/debian trixie/main amd64 libsasl2-modules-db amd64 2.1.28+dfsg1-4+b1 [19.7 kB] -Get: 39 http://deb.debian.org/debian trixie/main amd64 libsasl2-2 amd64 2.1.28+dfsg1-4+b1 [57.0 kB] -Get: 40 http://deb.debian.org/debian trixie/main amd64 libldap-2.5-0 amd64 2.5.13+dfsg-5+b3 [184 kB] -Get: 41 http://deb.debian.org/debian trixie/main amd64 libnghttp2-14 amd64 1.59.0-1 [74.3 kB] -Get: 42 http://deb.debian.org/debian trixie/main amd64 libpsl5t64 amd64 0.21.2-1.1 [56.8 kB] -Get: 43 http://deb.debian.org/debian trixie/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2+b4 [58.5 kB] -Get: 44 http://deb.debian.org/debian trixie/main amd64 libssh2-1t64 amd64 1.11.0-4.1+b2 [215 kB] -Get: 45 http://deb.debian.org/debian trixie/main amd64 libcurl4t64 amd64 8.7.1-3 [441 kB] -Get: 46 http://deb.debian.org/debian trixie/main amd64 libcurl4-openssl-dev amd64 8.7.1-3 [547 kB] -Get: 47 http://deb.debian.org/debian trixie/main amd64 libncurses6 amd64 6.4+20240414-1 [104 kB] -Get: 48 http://deb.debian.org/debian trixie/main amd64 libncurses-dev amd64 6.4+20240414-1 [349 kB] -Get: 49 http://deb.debian.org/debian trixie/main amd64 libpkgconf3 amd64 1.8.1-1+b2 [36.4 kB] -Get: 50 http://deb.debian.org/debian trixie/main amd64 pkgconf-bin amd64 1.8.1-1+b2 [29.7 kB] -Get: 51 http://deb.debian.org/debian trixie/main amd64 pkgconf amd64 1.8.1-1+b2 [26.2 kB] -Get: 52 http://deb.debian.org/debian trixie/main amd64 pkg-config amd64 1.8.1-1+b2 [14.0 kB] -Get: 53 http://deb.debian.org/debian trixie/main amd64 libsigc++-2.0-dev amd64 2.12.1-2 [72.2 kB] -Get: 54 http://deb.debian.org/debian trixie/main amd64 libtorrent21 amd64 0.13.8-2+b1 [362 kB] -Get: 55 http://deb.debian.org/debian trixie/main amd64 libtorrent-dev amd64 0.13.8-2+b1 [67.4 kB] -Get: 56 http://deb.debian.org/debian trixie/main amd64 libxmlrpc-core-c3 amd64 1.33.14-11 [152 kB] -Get: 57 http://deb.debian.org/debian trixie/main amd64 libxmlrpc-core-c3-dev amd64 1.33.14-11 [224 kB] -Fetched 25.4 MB in 0s (51.4 MB/s) +Get: 36 http://deb.debian.org/debian trixie/main amd64 libcom-err2 amd64 1.47.0-2.4 [20.2 kB] +Get: 37 http://deb.debian.org/debian trixie/main amd64 libcppunit-1.15-0 amd64 1.15.1-4+b1 [151 kB] +Get: 38 http://deb.debian.org/debian trixie/main amd64 libcppunit-dev amd64 1.15.1-4+b1 [209 kB] +Get: 39 http://deb.debian.org/debian trixie/main amd64 libkrb5support0 amd64 1.20.1-5+b1 [33.2 kB] +Get: 40 http://deb.debian.org/debian trixie/main amd64 libk5crypto3 amd64 1.20.1-5+b1 [80.0 kB] +Get: 41 http://deb.debian.org/debian trixie/main amd64 libkeyutils1 amd64 1.6.3-3 [8952 B] +Get: 42 http://deb.debian.org/debian trixie/main amd64 libkrb5-3 amd64 1.20.1-5+b1 [333 kB] +Get: 43 http://deb.debian.org/debian trixie/main amd64 libgssapi-krb5-2 amd64 1.20.1-5+b1 [135 kB] +Get: 44 http://deb.debian.org/debian trixie/main amd64 libsasl2-modules-db amd64 2.1.28+dfsg1-4+b1 [19.7 kB] +Get: 45 http://deb.debian.org/debian trixie/main amd64 libsasl2-2 amd64 2.1.28+dfsg1-4+b1 [57.0 kB] +Get: 46 http://deb.debian.org/debian trixie/main amd64 libldap-2.5-0 amd64 2.5.13+dfsg-5+b3 [184 kB] +Get: 47 http://deb.debian.org/debian trixie/main amd64 libnghttp2-14 amd64 1.59.0-1 [74.3 kB] +Get: 48 http://deb.debian.org/debian trixie/main amd64 libpsl5t64 amd64 0.21.2-1.1 [56.8 kB] +Get: 49 http://deb.debian.org/debian trixie/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2+b4 [58.5 kB] +Get: 50 http://deb.debian.org/debian trixie/main amd64 libssh2-1t64 amd64 1.11.0-4.1+b2 [215 kB] +Get: 51 http://deb.debian.org/debian trixie/main amd64 libcurl4t64 amd64 8.7.1-3 [441 kB] +Get: 52 http://deb.debian.org/debian trixie/main amd64 libcurl4-openssl-dev amd64 8.7.1-3 [547 kB] +Get: 53 http://deb.debian.org/debian trixie/main amd64 libncurses6 amd64 6.4+20240414-1 [104 kB] +Get: 54 http://deb.debian.org/debian trixie/main amd64 libncurses-dev amd64 6.4+20240414-1 [349 kB] +Get: 55 http://deb.debian.org/debian trixie/main amd64 libpkgconf3 amd64 1.8.1-1+b2 [36.4 kB] +Get: 56 http://deb.debian.org/debian trixie/main amd64 pkgconf-bin amd64 1.8.1-1+b2 [29.7 kB] +Get: 57 http://deb.debian.org/debian trixie/main amd64 pkgconf amd64 1.8.1-1+b2 [26.2 kB] +Get: 58 http://deb.debian.org/debian trixie/main amd64 pkg-config amd64 1.8.1-1+b2 [14.0 kB] +Get: 59 http://deb.debian.org/debian trixie/main amd64 libsigc++-2.0-dev amd64 2.12.1-2 [72.2 kB] +Get: 60 http://deb.debian.org/debian trixie/main amd64 libtorrent21 amd64 0.13.8-2+b1 [362 kB] +Get: 61 http://deb.debian.org/debian trixie/main amd64 libtorrent-dev amd64 0.13.8-2+b1 [67.4 kB] +Get: 62 http://deb.debian.org/debian trixie/main amd64 libxmlrpc-core-c3 amd64 1.33.14-11 [152 kB] +Get: 63 http://deb.debian.org/debian trixie/main amd64 libxmlrpc-core-c3-dev amd64 1.33.14-11 [224 kB] +Fetched 26.0 MB in 0s (87.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed dpkg: libssl3:amd64: dependency problems, but removing anyway as you requested: - libkrb5-3:amd64 depends on libssl3 (>= 3.0.0). coreutils depends on libssl3 (>= 3.0.0). -(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 ... 19901 files and directories currently installed.) +(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 ... 19725 files and directories currently installed.) Removing libssl3:amd64 (3.1.5-1) ... Selecting previously unselected package libssl3t64:amd64. -(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 ... 19888 files and directories currently installed.) +(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 ... 19712 files and directories currently installed.) Preparing to unpack .../libssl3t64_3.2.1-3_amd64.deb ... Unpacking libssl3t64:amd64 (3.2.1-3) ... Setting up libssl3t64:amd64 (3.2.1-3) ... Selecting previously unselected package readline-common. -(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19903 files and directories currently installed.) +(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 ... 19727 files and directories currently installed.) Preparing to unpack .../00-readline-common_8.2-4_all.deb ... Unpacking readline-common (8.2-4) ... Selecting previously unselected package sensible-utils. @@ -333,74 +376,93 @@ Selecting previously unselected package libbrotli1:amd64. Preparing to unpack .../33-libbrotli1_1.1.0-2+b3_amd64.deb ... Unpacking libbrotli1:amd64 (1.1.0-2+b3) ... +Selecting previously unselected package libcom-err2:amd64. +Preparing to unpack .../34-libcom-err2_1.47.0-2.4_amd64.deb ... +Unpacking libcom-err2:amd64 (1.47.0-2.4) ... Selecting previously unselected package libcppunit-1.15-0:amd64. -Preparing to unpack .../34-libcppunit-1.15-0_1.15.1-4+b1_amd64.deb ... +Preparing to unpack .../35-libcppunit-1.15-0_1.15.1-4+b1_amd64.deb ... Unpacking libcppunit-1.15-0:amd64 (1.15.1-4+b1) ... Selecting previously unselected package libcppunit-dev:amd64. -Preparing to unpack .../35-libcppunit-dev_1.15.1-4+b1_amd64.deb ... +Preparing to unpack .../36-libcppunit-dev_1.15.1-4+b1_amd64.deb ... Unpacking libcppunit-dev:amd64 (1.15.1-4+b1) ... +Selecting previously unselected package libkrb5support0:amd64. +Preparing to unpack .../37-libkrb5support0_1.20.1-5+b1_amd64.deb ... +Unpacking libkrb5support0:amd64 (1.20.1-5+b1) ... +Selecting previously unselected package libk5crypto3:amd64. +Preparing to unpack .../38-libk5crypto3_1.20.1-5+b1_amd64.deb ... +Unpacking libk5crypto3:amd64 (1.20.1-5+b1) ... +Selecting previously unselected package libkeyutils1:amd64. +Preparing to unpack .../39-libkeyutils1_1.6.3-3_amd64.deb ... +Unpacking libkeyutils1:amd64 (1.6.3-3) ... +Selecting previously unselected package libkrb5-3:amd64. +Preparing to unpack .../40-libkrb5-3_1.20.1-5+b1_amd64.deb ... +Unpacking libkrb5-3:amd64 (1.20.1-5+b1) ... +Selecting previously unselected package libgssapi-krb5-2:amd64. +Preparing to unpack .../41-libgssapi-krb5-2_1.20.1-5+b1_amd64.deb ... +Unpacking libgssapi-krb5-2:amd64 (1.20.1-5+b1) ... Selecting previously unselected package libsasl2-modules-db:amd64. -Preparing to unpack .../36-libsasl2-modules-db_2.1.28+dfsg1-4+b1_amd64.deb ... +Preparing to unpack .../42-libsasl2-modules-db_2.1.28+dfsg1-4+b1_amd64.deb ... Unpacking libsasl2-modules-db:amd64 (2.1.28+dfsg1-4+b1) ... Selecting previously unselected package libsasl2-2:amd64. -Preparing to unpack .../37-libsasl2-2_2.1.28+dfsg1-4+b1_amd64.deb ... +Preparing to unpack .../43-libsasl2-2_2.1.28+dfsg1-4+b1_amd64.deb ... Unpacking libsasl2-2:amd64 (2.1.28+dfsg1-4+b1) ... Selecting previously unselected package libldap-2.5-0:amd64. -Preparing to unpack .../38-libldap-2.5-0_2.5.13+dfsg-5+b3_amd64.deb ... +Preparing to unpack .../44-libldap-2.5-0_2.5.13+dfsg-5+b3_amd64.deb ... Unpacking libldap-2.5-0:amd64 (2.5.13+dfsg-5+b3) ... Selecting previously unselected package libnghttp2-14:amd64. -Preparing to unpack .../39-libnghttp2-14_1.59.0-1_amd64.deb ... +Preparing to unpack .../45-libnghttp2-14_1.59.0-1_amd64.deb ... Unpacking libnghttp2-14:amd64 (1.59.0-1) ... Selecting previously unselected package libpsl5t64:amd64. -Preparing to unpack .../40-libpsl5t64_0.21.2-1.1_amd64.deb ... +Preparing to unpack .../46-libpsl5t64_0.21.2-1.1_amd64.deb ... Unpacking libpsl5t64:amd64 (0.21.2-1.1) ... Selecting previously unselected package librtmp1:amd64. -Preparing to unpack .../41-librtmp1_2.4+20151223.gitfa8646d.1-2+b4_amd64.deb ... +Preparing to unpack .../47-librtmp1_2.4+20151223.gitfa8646d.1-2+b4_amd64.deb ... Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b4) ... Selecting previously unselected package libssh2-1t64:amd64. -Preparing to unpack .../42-libssh2-1t64_1.11.0-4.1+b2_amd64.deb ... +Preparing to unpack .../48-libssh2-1t64_1.11.0-4.1+b2_amd64.deb ... Unpacking libssh2-1t64:amd64 (1.11.0-4.1+b2) ... Selecting previously unselected package libcurl4t64:amd64. -Preparing to unpack .../43-libcurl4t64_8.7.1-3_amd64.deb ... +Preparing to unpack .../49-libcurl4t64_8.7.1-3_amd64.deb ... Unpacking libcurl4t64:amd64 (8.7.1-3) ... Selecting previously unselected package libcurl4-openssl-dev:amd64. -Preparing to unpack .../44-libcurl4-openssl-dev_8.7.1-3_amd64.deb ... +Preparing to unpack .../50-libcurl4-openssl-dev_8.7.1-3_amd64.deb ... Unpacking libcurl4-openssl-dev:amd64 (8.7.1-3) ... Selecting previously unselected package libncurses6:amd64. -Preparing to unpack .../45-libncurses6_6.4+20240414-1_amd64.deb ... +Preparing to unpack .../51-libncurses6_6.4+20240414-1_amd64.deb ... Unpacking libncurses6:amd64 (6.4+20240414-1) ... Selecting previously unselected package libncurses-dev:amd64. -Preparing to unpack .../46-libncurses-dev_6.4+20240414-1_amd64.deb ... +Preparing to unpack .../52-libncurses-dev_6.4+20240414-1_amd64.deb ... Unpacking libncurses-dev:amd64 (6.4+20240414-1) ... Selecting previously unselected package libpkgconf3:amd64. -Preparing to unpack .../47-libpkgconf3_1.8.1-1+b2_amd64.deb ... +Preparing to unpack .../53-libpkgconf3_1.8.1-1+b2_amd64.deb ... Unpacking libpkgconf3:amd64 (1.8.1-1+b2) ... Selecting previously unselected package pkgconf-bin. -Preparing to unpack .../48-pkgconf-bin_1.8.1-1+b2_amd64.deb ... +Preparing to unpack .../54-pkgconf-bin_1.8.1-1+b2_amd64.deb ... Unpacking pkgconf-bin (1.8.1-1+b2) ... Selecting previously unselected package pkgconf:amd64. -Preparing to unpack .../49-pkgconf_1.8.1-1+b2_amd64.deb ... +Preparing to unpack .../55-pkgconf_1.8.1-1+b2_amd64.deb ... Unpacking pkgconf:amd64 (1.8.1-1+b2) ... Selecting previously unselected package pkg-config:amd64. -Preparing to unpack .../50-pkg-config_1.8.1-1+b2_amd64.deb ... +Preparing to unpack .../56-pkg-config_1.8.1-1+b2_amd64.deb ... Unpacking pkg-config:amd64 (1.8.1-1+b2) ... Selecting previously unselected package libsigc++-2.0-dev:amd64. -Preparing to unpack .../51-libsigc++-2.0-dev_2.12.1-2_amd64.deb ... +Preparing to unpack .../57-libsigc++-2.0-dev_2.12.1-2_amd64.deb ... Unpacking libsigc++-2.0-dev:amd64 (2.12.1-2) ... Selecting previously unselected package libtorrent21:amd64. -Preparing to unpack .../52-libtorrent21_0.13.8-2+b1_amd64.deb ... +Preparing to unpack .../58-libtorrent21_0.13.8-2+b1_amd64.deb ... Unpacking libtorrent21:amd64 (0.13.8-2+b1) ... Selecting previously unselected package libtorrent-dev:amd64. -Preparing to unpack .../53-libtorrent-dev_0.13.8-2+b1_amd64.deb ... +Preparing to unpack .../59-libtorrent-dev_0.13.8-2+b1_amd64.deb ... Unpacking libtorrent-dev:amd64 (0.13.8-2+b1) ... Selecting previously unselected package libxmlrpc-core-c3. -Preparing to unpack .../54-libxmlrpc-core-c3_1.33.14-11_amd64.deb ... +Preparing to unpack .../60-libxmlrpc-core-c3_1.33.14-11_amd64.deb ... Unpacking libxmlrpc-core-c3 (1.33.14-11) ... Selecting previously unselected package libxmlrpc-core-c3-dev. -Preparing to unpack .../55-libxmlrpc-core-c3-dev_1.33.14-11_amd64.deb ... +Preparing to unpack .../61-libxmlrpc-core-c3-dev_1.33.14-11_amd64.deb ... Unpacking libxmlrpc-core-c3-dev (1.33.14-11) ... Setting up libpipeline1:amd64 (1.5.7-2) ... Setting up libcppunit-1.15-0:amd64 (1.15.1-4+b1) ... +Setting up libkeyutils1:amd64 (1.6.3-3) ... Setting up libicu72:amd64 (72.1-4+b1) ... Setting up bsdextrautils (2.39.3-6) ... Setting up libmagic-mgc (1:5.45-3) ... @@ -413,8 +475,10 @@ Setting up libnghttp2-14:amd64 (1.59.0-1) ... Setting up gettext-base (0.21-14+b1) ... Setting up m4 (1.4.19-4) ... +Setting up libcom-err2:amd64 (1.47.0-2.4) ... Setting up file (1:5.45-3) ... Setting up libelf1t64:amd64 (0.191-1+b1) ... +Setting up libkrb5support0:amd64 (1.20.1-5+b1) ... Setting up libsasl2-modules-db:amd64 (2.1.28+dfsg1-4+b1) ... Setting up autotools-dev (20220109.1) ... Setting up libpkgconf3:amd64 (1.8.1-1+b2) ... @@ -422,12 +486,14 @@ Setting up libncurses6:amd64 (6.4+20240414-1) ... Setting up autopoint (0.21-14) ... Setting up pkgconf-bin (1.8.1-1+b2) ... +Setting up libk5crypto3:amd64 (1.20.1-5+b1) ... Setting up libsasl2-2:amd64 (2.1.28+dfsg1-4+b1) ... Setting up autoconf (2.71-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.22) ... Setting up libuchardet0:amd64 (0.0.8-1+b1) ... Setting up libsub-override-perl (0.10-1) ... +Setting up libkrb5-3:amd64 (1.20.1-5+b1) ... Setting up libssh2-1t64:amd64 (1.11.0-4.1+b2) ... Setting up libcppunit-dev:amd64 (1.15.1-4+b1) ... Setting up readline-common (8.2-4) ... @@ -443,6 +509,7 @@ Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libsigc++-2.0-dev:amd64 (2.12.1-2) ... +Setting up libgssapi-krb5-2:amd64 (1.20.1-5+b1) ... Setting up pkg-config:amd64 (1.8.1-1+b2) ... Setting up libreadline8t64:amd64 (8.2-4) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... @@ -467,7 +534,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/rtorrent-0.9.8/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../rtorrent_0.9.8-1_source.changes +I: user script /srv/workspace/pbuilder/115633/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/115633/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/rtorrent-0.9.8/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../rtorrent_0.9.8-1_source.changes dpkg-buildpackage: info: source package rtorrent dpkg-buildpackage: info: source version 0.9.8-1 dpkg-buildpackage: info: source distribution unstable @@ -767,7 +838,7 @@ config.status: executing libtool commands make[1]: Leaving directory '/build/reproducible-path/rtorrent-0.9.8' dh_auto_build - make -j20 + make -j42 make[1]: Entering directory '/build/reproducible-path/rtorrent-0.9.8' make all-recursive make[2]: Entering directory '/build/reproducible-path/rtorrent-0.9.8' @@ -792,12 +863,12 @@ g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o poll_manager.o poll_manager.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o view.o view.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o view_manager.o view_manager.cc -In file included from view_manager.cc:40: +In file included from view.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/functional:49, - from ../../rak/functional.h:41: + from view.cc:40: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -867,12 +938,12 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from view.cc:41: +In file included from view_manager.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/functional:49, - from view.cc:40: + from ../../rak/functional.h:41: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -942,13 +1013,26 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from http_queue.cc:43: +In file included from view.cc:42: +../../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 70 | class function_base1 : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 78 | class function_base2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from download.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/unique_ptr.h:37, - from /usr/include/c++/13/memory:78, - from http_queue.cc:39: +In file included from /usr/include/c++/13/string:49, + from ../../rak/file_stat.h:40, + from download.cc:40: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -1018,30 +1102,13 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from view.cc:42: -../../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 70 | class function_base1 : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 78 | class function_base2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from download_list.cc:42: +In file included from curl_stack.cc:43: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/fstream:40, - from download_list.cc:40: + from /usr/include/torrent/exceptions.h:47, + from curl_stack.cc:41: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -1112,43 +1179,15 @@ 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, - from curl_get.h:45, - from http_queue.cc:45: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_construct.h:61, - from /usr/include/c++/13/bits/stl_tempbuf.h:61, - from /usr/include/c++/13/memory:66: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -http_queue.cc: In member function 'std::__cxx11::list::iterator core::HttpQueue::insert(const std::string&, std::iostream*)': -http_queue.cc:51:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 51 | std::auto_ptr h(m_slot_factory()); - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, - from curl_get.cc:44: + from poll_manager.cc:46: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13/string:47, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/ostream:40, - from /usr/include/c++/13/iostream:41, - from curl_get.cc:39: + from /usr/include/c++/13/stdexcept:39, + from poll_manager.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -1179,13 +1218,34 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from download.cc:41: +In file included from ../../rak/priority_queue_default.h:42, + from curl_get.h:45, + from curl_stack.cc:44: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/algorithm:60, + from curl_stack.cc:39: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from download_list.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, - from ../../rak/file_stat.h:40, - from download.cc:40: + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/fstream:40, + from download_list.cc:40: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -1219,12 +1279,29 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from curl_get.cc:44: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/ostream:40, + from /usr/include/c++/13/iostream:41, + from curl_get.cc:39: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -1255,22 +1332,23 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from curl_stack.cc:43: +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +curl_socket.cc: In destructor 'virtual core::CurlSocket::~CurlSocket()': +curl_socket.cc:95:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 95 | throw torrent::internal_error("CurlSocket::~CurlSocket() m_fileDesc != -1."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +curl_socket.cc:95:5: note: in C++11 destructors default to 'noexcept' +In file included from http_queue.cc:43: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/torrent/exceptions.h:47, - from curl_stack.cc:41: +In file included from /usr/include/c++/13/bits/unique_ptr.h:37, + from /usr/include/c++/13/memory:78, + from http_queue.cc:39: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -1280,6 +1358,18 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from view_manager.cc:44: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/algorithm:60, + from view_manager.cc:39: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -1322,6 +1412,11 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -1354,107 +1449,47 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from curl_get.h:45, - from curl_stack.cc:44: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/algorithm:60, - from curl_stack.cc:39: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from curl_get.cc:40: -curl_get.cc: In member function 'double core::CurlGet::size_done()': -curl_get.cc:136:31: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] - 136 | curl_easy_getinfo(m_handle, CURLINFO_SIZE_DOWNLOAD, &d); - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/x86_64-linux-gnu/curl/curl.h:2862:3: note: declared here - 2862 | CURLINFO_SIZE_DOWNLOAD - | ^~~~~~~~~~~~~~~~~~~~~~ -curl_get.cc: In member function 'double core::CurlGet::size_total()': -curl_get.cc:144:31: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] - 144 | curl_easy_getinfo(m_handle, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &d); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/x86_64-linux-gnu/curl/curl.h:2879:3: note: declared here - 2879 | CURLINFO_CONTENT_LENGTH_DOWNLOAD - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from view_manager.cc:44: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/algorithm:60, - from view_manager.cc:39: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +curl_stack.cc: In member function 'bool core::CurlStack::process_done_handle()': +curl_stack.cc:136:90: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void*; _Tp = core::CurlGet]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 136 | iterator itr = std::find_if(begin(), end(), rak::equal(msg->easy_handle, std::mem_fun(&CurlGet::handle))); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1371:5: note: declared here + 1371 | mem_fun(_Ret (_Tp::*__f)()) + | ^~~~~~~ +curl_stack.cc: In member function 'void core::CurlStack::transfer_done(void*, const char*)': +curl_stack.cc:158:78: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void*; _Tp = core::CurlGet]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 158 | iterator itr = std::find_if(begin(), end(), rak::equal(handle, std::mem_fun(&CurlGet::handle))); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1371:5: note: declared here + 1371 | mem_fun(_Ret (_Tp::*__f)()) + | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/stl_function.h:1438, - from /usr/include/c++/13/string:49: + from /usr/include/c++/13/functional:49: /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from ./../rpc/command.h:240, - from ./../rpc/command_map.h:45, - from ./../rpc/parse_commands.h:43, - from download_factory.cc:53: -./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from download_factory.cc:47: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -./../rpc/command_map.h: At global scope: -./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/fstream:40, - from download_factory.cc:40: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -curl_socket.cc: In destructor 'virtual core::CurlSocket::~CurlSocket()': -curl_socket.cc:95:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 95 | throw torrent::internal_error("CurlSocket::~CurlSocket() m_fileDesc != -1."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -curl_socket.cc:95:5: note: in C++11 destructors default to 'noexcept' -curl_stack.cc: In member function 'bool core::CurlStack::process_done_handle()': -curl_stack.cc:136:90: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void*; _Tp = core::CurlGet]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 136 | iterator itr = std::find_if(begin(), end(), rak::equal(msg->easy_handle, std::mem_fun(&CurlGet::handle))); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1371:5: note: declared here - 1371 | mem_fun(_Ret (_Tp::*__f)()) +curl_stack.cc: In member function 'void core::CurlStack::remove_get(core::CurlGet*)': +curl_stack.cc:238:65: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = core::CurlGet]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 238 | (itr = std::find_if(begin(), end(), std::not1(std::mem_fun(&CurlGet::is_active)))) != end()) { + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here + 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ +curl_stack.cc:238:52: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = const_mem_fun_t]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] + 238 | (itr = std::find_if(begin(), end(), std::not1(std::mem_fun(&CurlGet::is_active)))) != end()) { + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1046:5: note: declared here + 1046 | not1(const _Predicate& __pred) + | ^~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, - from view.cc:46: + from download.cc:50: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); @@ -1463,13 +1498,6 @@ /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ -curl_stack.cc: In member function 'void core::CurlStack::transfer_done(void*, const char*)': -curl_stack.cc:158:78: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void*; _Tp = core::CurlGet]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 158 | iterator itr = std::find_if(begin(), end(), rak::equal(handle, std::mem_fun(&CurlGet::handle))); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1371:5: note: declared here - 1371 | mem_fun(_Ret (_Tp::*__f)()) - | ^~~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { @@ -1477,27 +1505,24 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -curl_stack.cc: In member function 'void core::CurlStack::remove_get(core::CurlGet*)': -curl_stack.cc:238:65: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = core::CurlGet]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 238 | (itr = std::find_if(begin(), end(), std::not1(std::mem_fun(&CurlGet::is_active)))) != end()) { - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here - 1377 | mem_fun(_Ret (_Tp::*__f)() const) +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -curl_stack.cc:238:52: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = const_mem_fun_t]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] - 238 | (itr = std::find_if(begin(), end(), std::not1(std::mem_fun(&CurlGet::is_active)))) != end()) { - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1046:5: note: declared here - 1046 | not1(const _Predicate& __pred) - | ^~~~ In file included from ../../rak/priority_queue_default.h:42, from curl_get.h:45, - from download_factory.cc:55: + from http_queue.cc:45: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: +In file included from /usr/include/c++/13/bits/stl_construct.h:61, + from /usr/include/c++/13/bits/stl_tempbuf.h:61, + from /usr/include/c++/13/memory:66: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -1507,33 +1532,19 @@ 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/stl_function.h:1438, - from /usr/include/c++/13/functional:49: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: + from /usr/include/c++/13/string:49: /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, - from view.cc:48: + from download.cc:52: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/algorithm:60, - from view.cc:39: + from /usr/include/c++/13/list:62, + from download.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -1542,33 +1553,27 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from poll_manager.cc:46: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/c++/13/stdexcept:39, - from poll_manager.cc:39: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +http_queue.cc: In member function 'std::__cxx11::list::iterator core::HttpQueue::insert(const std::string&, std::iostream*)': +http_queue.cc:51:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 51 | std::auto_ptr h(m_slot_factory()); + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, - from view_manager.cc:46: + from view.cc:46: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from view_manager.cc:42: +In file included from ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ @@ -1579,15 +1584,30 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In file included from curl_get.cc:40: +curl_get.cc: In member function 'double core::CurlGet::size_done()': +curl_get.cc:136:31: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] + 136 | curl_easy_getinfo(m_handle, CURLINFO_SIZE_DOWNLOAD, &d); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/curl/curl.h:2862:3: note: declared here + 2862 | CURLINFO_SIZE_DOWNLOAD + | ^~~~~~~~~~~~~~~~~~~~~~ +curl_get.cc: In member function 'double core::CurlGet::size_total()': +curl_get.cc:144:31: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] + 144 | curl_easy_getinfo(m_handle, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &d); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/x86_64-linux-gnu/curl/curl.h:2879:3: note: declared here + 2879 | CURLINFO_CONTENT_LENGTH_DOWNLOAD + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, - from download_list.cc:54: + from view_manager.cc:46: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from download_list.cc:49: +In file included from view_manager.cc:42: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ @@ -1598,15 +1618,34 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438, + from /usr/include/c++/13/string:49: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, - from download.cc:50: + from download_factory.cc:53: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./../rpc/command_map.h:43: +In file included from download_factory.cc:47: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ @@ -1614,41 +1653,25 @@ ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from download.h:47, - from download_store.cc:56: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, +In file included from /usr/include/c++/13/string:49, from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, from /usr/include/c++/13/ios:44, from /usr/include/c++/13/istream:40, from /usr/include/c++/13/fstream:40, - from download_store.cc:41: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' + from download_factory.cc:40: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, - from download_list.cc:56: + from view.cc:48: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:65, from /usr/include/c++/13/algorithm:60, - from download_list.cc:39: + from view.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -1657,69 +1680,56 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -download_factory.cc: In member function 'void core::DownloadFactory::receive_success()': -download_factory.cc:319:44: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const __cxx11::basic_string&; _Arg2 = rpc::rt_triple; _Result = torrent::Object]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] - 319 | rak::bind2nd(std::ptr_fun(&rpc::parse_command_multiple_std), rpc::make_target(download))); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1153:5: note: declared here - 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) - | ^~~~~~~ -view.cc: At global scope: -view.cc:57:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 57 | struct view_downloads_compare : std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, - from manager.cc:60: + from dht_manager.cc:47: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from manager.cc:51: +In file included from dht_manager.cc:41: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ -view.cc:91:37: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 91 | struct view_downloads_filter : std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -view.cc: In member function 'void core::View::initialize(const std::string&)': -view.cc:179:72: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::View; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 179 | std::for_each(dlist->begin(), dlist->end(), rak::bind1st(std::mem_fun(&View::push_back), this)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1395:5: note: declared here - 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) - | ^~~~~~~ ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/fstream:40, + from dht_manager.cc:39: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -download_store.cc: In member function 'utils::Directory core::DownloadStore::get_formated_entries()': -download_store.cc:199:58: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = const utils::directory_entry&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] - 199 | d.erase(std::remove_if(d.begin(), d.end(), std::ptr_fun(¬_correct_format)), d.end()); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: -/usr/include/c++/13/bits/stl_function.h:1126:5: note: declared here - 1126 | ptr_fun(_Result (*__x)(_Arg)) - | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42, - from ./../control.h:43, - from download.cc:52: + from curl_get.h:45, + from download_factory.cc:55: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/list:62, - from download.cc:39: +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("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 dht_manager.cc:49: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -1742,13 +1752,14 @@ /usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ -view.cc: In member function 'void core::View::insert_visible(core::Download*)': -view.cc:361:75: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = core::view_downloads_compare; _Tp = core::Download*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 361 | iterator itr = std::find_if(begin_visible(), end_visible(), std::bind1st(view_downloads_compare(m_sortNew), d)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:136:5: note: declared here - 136 | bind1st(const _Operation& __fn, const _Tp& __x) +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here @@ -1759,14 +1770,75 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +view.cc: At global scope: +view.cc:57:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 57 | struct view_downloads_compare : std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +view.cc:91:37: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 91 | struct view_downloads_filter : std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +view.cc: In member function 'void core::View::initialize(const std::string&)': +view.cc:179:72: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::View; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 179 | std::for_each(dlist->begin(), dlist->end(), rak::bind1st(std::mem_fun(&View::push_back), this)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1395:5: note: declared here + 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) + | ^~~~~~~ +view.cc: In member function 'void core::View::insert_visible(core::Download*)': +view.cc:361:75: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = core::view_downloads_compare; _Tp = core::Download*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 361 | iterator itr = std::find_if(begin_visible(), end_visible(), std::bind1st(view_downloads_compare(m_sortNew), d)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:136:5: note: declared here + 136 | bind1st(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +In file included from ./../rpc/command.h:240, + from ./../rpc/command_map.h:45, + from ./../rpc/parse_commands.h:43, + from download_list.cc:54: +./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from download_list.cc:49: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +./../rpc/command_map.h: At global scope: +./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +download_factory.cc: In member function 'void core::DownloadFactory::receive_success()': +download_factory.cc:319:44: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const __cxx11::basic_string&; _Arg2 = rpc::rt_triple; _Result = torrent::Object]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] + 319 | rak::bind2nd(std::ptr_fun(&rpc::parse_command_multiple_std), rpc::make_target(download))); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1153:5: note: declared here + 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) + | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, - from manager.cc:64: + from download.h:47, + from download_store.cc:56: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: + from /usr/include/c++/13/string:47, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/fstream:40, + from download_store.cc:41: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -1780,11 +1852,45 @@ ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438, - from /usr/include/c++/13/string:49: /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../control.h:43, + from download_list.cc:56: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/algorithm:60, + from download_list.cc:39: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ./../rpc/command.h:240, + from ./../rpc/command_map.h:45, + from ./../rpc/parse_commands.h:43, + from manager.cc:60: +./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from manager.cc:51: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +./../rpc/command_map.h: At global scope: +./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -1794,14 +1900,39 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +download_store.cc: In member function 'utils::Directory core::DownloadStore::get_formated_entries()': +download_store.cc:199:58: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = const utils::directory_entry&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] + 199 | d.erase(std::remove_if(d.begin(), d.end(), std::ptr_fun(¬_correct_format)), d.end()); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49: +/usr/include/c++/13/bits/stl_function.h:1126:5: note: declared here + 1126 | ptr_fun(_Result (*__x)(_Arg)) + | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from manager.cc:64: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -1811,32 +1942,6 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from ./../rpc/command.h:240, - from ./../rpc/command_map.h:45, - from ./../rpc/parse_commands.h:43, - from dht_manager.cc:47: -./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from dht_manager.cc:41: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -./../rpc/command_map.h: At global scope: -./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/fstream:40, - from dht_manager.cc:39: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ download_list.cc: In member function 'void core::DownloadList::clear()': download_list.cc:83:58: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::DownloadList; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 83 | std::for_each(begin(), end(), std::bind1st(std::mem_fun(&DownloadList::close), this)); @@ -1928,31 +2033,6 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from dht_manager.cc:49: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ manager.cc: In member function 'void core::Manager::shutdown(bool)': manager.cc:178:92: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = core::DownloadList; _Arg = core::Download*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 178 | std::for_each(m_downloadList->begin(), m_downloadList->end(), std::bind1st(std::mem_fun(&DownloadList::pause_default), m_downloadList)); @@ -1979,6 +2059,14 @@ /usr/include/c++/13/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ manager.cc: In function 'void core::path_expand(std::vector >*, const std::string&)': manager.cc:417:123: warning: 'constexpr std::unary_negate<_Predicate> std::not1(const _Predicate&) [with _Predicate = rak::regex]' is deprecated: use 'std::not_fn' instead [-Wdeprecated-declarations] 417 | itr->erase(std::remove_if(itr->begin(), itr->end(), rak::on(rak::mem_ref(&utils::directory_entry::d_name), std::not1(r))), itr->end()); @@ -2013,23 +2101,6 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ rm -f libsub_core.a ar cru libsub_core.a curl_get.o curl_socket.o curl_stack.o dht_manager.o download.o download_factory.o download_list.o download_store.o http_queue.o manager.o poll_manager.o view.o view_manager.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -2057,15 +2128,9 @@ g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o window_peer_list.o window_peer_list.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o window_statusbar.o window_statusbar.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o window_string_list.o window_string_list.cc -In file included from frame.cc:42: -../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/functional:49, - from frame.cc:40: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o window_text.o window_text.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o window_title.o window_title.cc +g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o window_tracker_list.o window_tracker_list.cc In file included from text_element_list.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { @@ -2141,13 +2206,24 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from manager.cc:41: +In file included from window_download_list.cc:39: +../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/functional:49, + from ../../rak/algorithm.h:41: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from window.h:41, + from window_input.h:42, + from window_input.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/stdexcept:39, - from manager.cc:39: + from canvas.h:40, + from window_input.cc:39: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -2217,22 +2293,15 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from manager.cc:44: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ In file included from window.h:41, - from frame.cc:46: + from window_title.h:41, + from window_title.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from canvas.h:40, + from window_title.cc:39: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -2248,23 +2317,29 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from window.h:44: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -2313,17 +2388,36 @@ ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/algorithm:60, - from frame.cc:39: +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ../../rak/priority_queue_default.h:42, + from ./../core/curl_get.h:45, + from window_http_queue.cc:41: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from /usr/include/c++/13/stdexcept:39, + from window_http_queue.cc:39: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from window.h:41, + from window_log_complete.h:42, + from window_log_complete.cc:43: +../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 174 | struct less2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from canvas.h:40, + from window_log_complete.cc:41: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from text_element_value.cc:41: @@ -2340,18 +2434,6 @@ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -In file included from window.h:41, - from window_log.h:42, - from window_log.cc:45: -../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 174 | struct less2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/torrent/torrent.h:41, - from window_log.cc:40: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ @@ -2424,9 +2506,8 @@ ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/list:62, - from /usr/include/torrent/torrent.h:40: +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -2435,18 +2516,21 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from window.h:41, - from window_string_list.h:43, - from window_string_list.cc:41: +In file included from window_download_chunks_seen.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, - from canvas.h:40, - from window_string_list.cc:39: + from /usr/include/c++/13/stdexcept:39, + from window_download_chunks_seen.cc:40: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ @@ -2513,48 +2597,40 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from window.h:44: + from ./../control.h:43, + from window_statusbar.cc:42: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/deque:62, + from /usr/include/torrent/rate.h:40, + from window_statusbar.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -In file included from window_download_list.cc:39: -../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/functional:49, - from ../../rak/algorithm.h:41: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from window.h:41, - from window.cc:41: +In file included from window_http_queue.cc:45: +../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/stdexcept:39, - from window.cc:39: +In file included from /usr/include/c++/13/string:49: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -2624,71 +2700,90 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from window_download_statusbar.cc:47: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/deque:62, - from /usr/include/torrent/rate.h:40, - from window_download_statusbar.cc:39: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from window.h:44: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from frame.cc:42: +../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/functional:49, + from frame.cc:40: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from window.h:41, - from window_log_complete.h:42, - from window_log_complete.cc:43: + from window_log.h:42, + from window_log.cc:45: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, - from canvas.h:40, - from window_log_complete.cc:41: + from /usr/include/torrent/torrent.h:41, + from window_log.cc:40: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 213 | struct greater2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from window.h:41, + from window_statusbar.h:42, + from window_statusbar.cc:45: +../../rak/functional.h: At global scope: +../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 174 | struct less2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from window_text.cc:40: +../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 174 | struct less2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/functional:49, + from ../../rak/functional.h:41: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/refwrap.h:39, + from /usr/include/c++/13/deque:67: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 273 | struct invert : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 279 | struct on_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 213 | struct greater2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::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++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 320 | struct mem_ptr_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -2698,6 +2793,48 @@ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_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 { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 352 | struct const_mem_ref_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 273 | struct invert : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 299 | struct on2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 279 | struct on_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 320 | struct mem_ptr_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 395 | struct call_delete : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ @@ -2707,21 +2844,69 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct 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++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 341 | struct mem_ref_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 433 | class bind2nd_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 352 | struct const_mem_ref_t : public std::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++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 395 | struct call_delete : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ +../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 408 | class bind1st_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 551 | class mem_fun2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 433 | class bind2nd_t : public std::unary_function { + | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ @@ -2737,6 +2922,12 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 551 | class mem_fun2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -2749,36 +2940,115 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from window.h:44: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/list:62, + from /usr/include/torrent/torrent.h:40: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ./../rpc/command.h:240, + from ./../rpc/command_map.h:45, + from text_element.h:44, + from text_element_list.h:40, + from text_element_list.cc:43: +./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./../rpc/command_map.h:43: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from ./../core/download.h:47, + from window_download_list.cc:41: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/algorithm:60, + from ../../rak/algorithm.h:40: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +./../rpc/command_map.h: At global scope: +./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/stl_function.h:1438: /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, - from window.h:44: + from ./../core/download.h:47, + from window_peer_list.cc:47: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: + from /usr/include/c++/13/string:47, + from /usr/include/c++/13/stdexcept:39, + from window_peer_list.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +In file included from window_tracker_list.cc:39: +../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/functional:49, + from ../../rak/algorithm.h:41: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, - from text_element.h:44, - from text_element_list.h:40, - from text_element_list.cc:43: + from ./../rpc/parse_commands.h:43, + from canvas.cc:44: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); @@ -2787,22 +3057,96 @@ /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from /usr/include/torrent/exceptions.h:47, + from canvas.cc:42: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from window.h:41, - from window_download_statusbar.h:40, - from window_download_statusbar.cc:49: -../../rak/functional.h: At global scope: +window_http_queue.cc: In member function 'void display::WindowHttpQueue::receive_erase(core::CurlGet*)': +window_http_queue.cc:148:112: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = core::CurlGet*; _Tp = display::WindowHttpQueue::Node]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 148 | Container::iterator itr = std::find_if(m_container.begin(), m_container.end(), rak::equal(h, std::mem_fun_ref(&Node::get_http))); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1383:5: note: declared here + 1383 | mem_fun_ref(_Ret (_Tp::*__f)()) + | ^~~~~~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +In file included from window_peer_list.cc:48: +../../rak/algorithm.h: At global scope: +../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from ./../core/download.h:47, + from window_file_list.cc:46: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/locale:41, + from window_file_list.cc:39: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from manager.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/refwrap.h:39, - from /usr/include/c++/13/deque:67: +In file included from /usr/include/c++/13/string:49, + from /usr/include/c++/13/stdexcept:39, + from manager.cc:39: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -2872,86 +3216,30 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../core/curl_get.h:45, - from window_http_queue.cc:41: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, +In file included from window.h:41, + from window.cc:41: +../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 174 | struct less2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, from /usr/include/c++/13/stdexcept:39, - from window_http_queue.cc:39: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from ./../rpc/command.h:240, - from ./../rpc/command_map.h:45, - from ./../rpc/parse_commands.h:43, - from text_element_string.cc:41: -./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./../rpc/command_map.h:43: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("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' + from window.cc:39: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, - from ./../core/download.h:47, - from window_download_list.cc:41: + from window_download_statusbar.cc:47: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -./../rpc/command_map.h: At global scope: -./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/algorithm:60, - from ../../rak/algorithm.h:40: + from /usr/include/c++/13/deque:62, + from /usr/include/torrent/rate.h:40, + from window_download_statusbar.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from /usr/include/c++/13/functional:49, - from ../../rak/string_manip.h:44, - from text_element_string.cc:39: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from window.h:41, - from window_input.h:42, - from window_input.cc:40: -../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 174 | struct less2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from canvas.h:40, - from window_input.cc:39: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ @@ -3018,12 +3306,94 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from window_http_queue.cc:45: +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from ./../core/download.h:47, + from utils.cc:57: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/istream:40, + from /usr/include/c++/13/sstream:40, + from utils.cc:41: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ./../rpc/command.h:240, + from ./../rpc/command_map.h:45, + from ./../rpc/parse_commands.h:43, + from window_download_list.cc:43: +./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./../core/view.h:55, + from window_download_list.cc:42: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +./../rpc/command_map.h: At global scope: +./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from window.h:44: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from manager.cc:44: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from window.h:41, + from window_download_statusbar.h:40, + from window_download_statusbar.cc:49: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: +In file included from /usr/include/c++/13/bits/refwrap.h:39, + from /usr/include/c++/13/deque:67: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -3093,24 +3463,15 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from window.h:44: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from window_download_chunks_seen.cc:41: +In file included from window.h:41, + from window_string_list.h:43, + from window_string_list.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/stdexcept:39, - from window_download_chunks_seen.cc:40: + from canvas.h:40, + from window_string_list.cc:39: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -3180,82 +3541,22 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../control.h:43, - from window_statusbar.cc:42: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/deque:62, - from /usr/include/torrent/rate.h:40, - from window_statusbar.cc:39: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from ./../rpc/command.h:240, - from ./../rpc/command_map.h:45, - from text_element.h:44, - from text_element_value.h:43, - from text_element_value.cc:42: -./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./../rpc/command_map.h:43: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -./../rpc/command_map.h: At global scope: -./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from /usr/include/c++/13/functional:49: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, - from ./../core/download.h:47, - from window_peer_list.cc:47: + from window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/c++/13/stdexcept:39, - from window_peer_list.cc:39: + from /usr/include/c++/13/string:47: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from window.h:41, - from window_statusbar.h:42, - from window_statusbar.cc:45: -../../rak/functional.h: At global scope: + from frame.cc:46: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/refwrap.h:39, - from /usr/include/c++/13/deque:67: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -3277,51 +3578,6 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -window_http_queue.cc: In member function 'void display::WindowHttpQueue::receive_erase(core::CurlGet*)': -window_http_queue.cc:148:112: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = core::CurlGet*; _Tp = display::WindowHttpQueue::Node]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 148 | Container::iterator itr = std::find_if(m_container.begin(), m_container.end(), rak::equal(h, std::mem_fun_ref(&Node::get_http))); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1383:5: note: declared here - 1383 | mem_fun_ref(_Ret (_Tp::*__f)()) - | ^~~~~~~~~~~ -In file included from ./../rpc/command.h:240, - from ./../rpc/command_map.h:45, - from ./../rpc/parse_commands.h:43, - from window_download_list.cc:43: -./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./../core/view.h:55, - from window_download_list.cc:42: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -./../rpc/command_map.h: At global scope: -./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ @@ -3361,20 +3617,25 @@ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438, + from /usr/include/c++/13/string:49: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -3393,11 +3654,27 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o window_text.o window_text.cc +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from window.h:44: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/algorithm:60, + from frame.cc:39: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, - from canvas.cc:44: + from text_element_string.cc:41: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); @@ -3410,94 +3687,17 @@ ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/torrent/exceptions.h:47, - from canvas.cc:42: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from window_peer_list.cc:48: -../../rak/algorithm.h: At global scope: -../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from ./../core/download.h:47, - from window_download_chunks_seen.cc:48: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/bits/specfun.h:43, - from /usr/include/c++/13/cmath:3699, - from window_download_chunks_seen.cc:39: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from ./../core/download.h:47, - from utils.cc:57: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/istream:40, - from /usr/include/c++/13/sstream:40, - from utils.cc:41: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ +In file included from /usr/include/c++/13/functional:49, + from ../../rak/string_manip.h:44, + from text_element_string.cc:39: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); @@ -3506,15 +3706,14 @@ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, - from window_file_list.cc:46: + from window_download_transfer_list.cc:45: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/locale:41, - from window_file_list.cc:39: +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/bits/specfun.h:43, + from /usr/include/c++/13/cmath:3699, + from window_download_transfer_list.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -3523,45 +3722,17 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -window_download_chunks_seen.cc: In member function 'virtual void display::WindowDownloadChunksSeen::redraw()': -window_download_chunks_seen.cc:98:82: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::BlockList]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 98 | std::sort(transferChunks.begin(), transferChunks.end(), rak::less2(std::mem_fun(&torrent::BlockList::index), std::mem_fun(&torrent::BlockList::index))); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here - 1377 | mem_fun(_Ret (_Tp::*__f)() const) - | ^~~~~~~ -window_download_chunks_seen.cc:98:124: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::BlockList]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 98 | std::sort(transferChunks.begin(), transferChunks.end(), rak::less2(std::mem_fun(&torrent::BlockList::index), std::mem_fun(&torrent::BlockList::index))); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here - 1377 | mem_fun(_Ret (_Tp::*__f)() const) - | ^~~~~~~ -window_download_chunks_seen.cc:114:90: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 114 | if (std::find_if((*itrTransfer)->begin(), (*itrTransfer)->end(), std::mem_fun_ref(&torrent::Block::is_transfering)) != (*itrTransfer)->end()) - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1389:5: note: declared here - 1389 | mem_fun_ref(_Ret (_Tp::*__f)() const) - | ^~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, - from window_download_transfer_list.cc:45: + from window_download_chunks_seen.cc:48: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:65, from /usr/include/c++/13/bits/specfun.h:43, from /usr/include/c++/13/cmath:3699, - from window_download_transfer_list.cc:39: + from window_download_chunks_seen.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -3582,6 +3753,11 @@ /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { @@ -3590,6 +3766,27 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In file included from ./../rpc/command.h:240, + from ./../rpc/command_map.h:45, + from text_element.h:44, + from text_element_value.h:43, + from text_element_value.cc:42: +./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./../rpc/command_map.h:43: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +./../rpc/command_map.h: At global scope: +./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/functional:49: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ utils.cc: In function 'char* display::print_download_status(char*, char*, core::Download*)': utils.cc:201:32: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 201 | std::mem_fun(&torrent::Tracker::is_busy_not_scrape)); @@ -3597,17 +3794,34 @@ /usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here 1377 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ +window_download_chunks_seen.cc: In member function 'virtual void display::WindowDownloadChunksSeen::redraw()': +window_download_chunks_seen.cc:98:82: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::BlockList]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 98 | std::sort(transferChunks.begin(), transferChunks.end(), rak::less2(std::mem_fun(&torrent::BlockList::index), std::mem_fun(&torrent::BlockList::index))); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here + 1377 | mem_fun(_Ret (_Tp::*__f)() const) + | ^~~~~~~ +window_download_chunks_seen.cc:98:124: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::BlockList]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 98 | std::sort(transferChunks.begin(), transferChunks.end(), rak::less2(std::mem_fun(&torrent::BlockList::index), std::mem_fun(&torrent::BlockList::index))); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here + 1377 | mem_fun(_Ret (_Tp::*__f)() const) + | ^~~~~~~ +window_download_chunks_seen.cc:114:90: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 114 | if (std::find_if((*itrTransfer)->begin(), (*itrTransfer)->end(), std::mem_fun_ref(&torrent::Block::is_transfering)) != (*itrTransfer)->end()) + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1389:5: note: declared here + 1389 | mem_fun_ref(_Ret (_Tp::*__f)() const) + | ^~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438, - from /usr/include/c++/13/string:49: +In file included from /usr/include/c++/13/bits/stl_function.h:1438: /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o window_title.o window_title.cc ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -3617,7 +3831,6 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o window_tracker_list.o window_tracker_list.cc ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -3630,81 +3843,51 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from window_text.cc:40: -../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 174 | struct less2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/functional:49, - from ../../rak/functional.h:41: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 213 | struct greater2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 273 | struct invert : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 279 | struct on_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 299 | struct on2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 320 | struct mem_ptr_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 341 | struct mem_ref_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 352 | struct const_mem_ref_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 395 | struct call_delete : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 408 | class bind1st_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 433 | class bind2nd_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 551 | class mem_fun2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from text_element.h:44, @@ -3743,118 +3926,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 window_tracker_list.cc:39: -../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/functional:49, - from ../../rak/algorithm.h:41: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from window.h:41, - from window_title.h:41, - from window_title.cc:40: -../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 174 | struct less2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from canvas.h:40, - from window_title.cc:39: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 213 | struct greater2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 273 | struct invert : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 279 | struct on_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 299 | struct on2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 320 | struct mem_ptr_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 341 | struct mem_ref_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 352 | struct const_mem_ref_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 395 | struct call_delete : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 408 | class bind1st_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 433 | class bind2nd_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 551 | class mem_fun2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from window.h:44: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -3985,19 +4056,6 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -path_input.cc: In member function 'input::PathInput::range_type input::PathInput::find_incomplete(utils::Directory&, const std::string&)': -path_input.cc:157:72: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const utils::directory_entry&; _Arg2 = const __cxx11::basic_string&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] - 157 | r.first = std::find_if(d.begin(), d.end(), rak::bind2nd(std::ptr_fun(&find_complete_not_compare), f)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1153:5: note: declared here - 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) - | ^~~~~~~ -path_input.cc:158:72: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const utils::directory_entry&; _Arg2 = const __cxx11::basic_string&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] - 158 | r.second = std::find_if(r.first, d.end(), rak::bind2nd(std::ptr_fun(&find_complete_compare), f)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1153:5: note: declared here - 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) - | ^~~~~~~ manager.cc: In member function 'void input::Manager::pressed(int)': manager.cc:67:61: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = bool; _Tp = input::Bindings; _Arg = int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 67 | std::find_if(rbegin(), rend(), std::bind2nd(std::mem_fun(&Bindings::pressed), key)); @@ -4014,6 +4072,19 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +path_input.cc: In member function 'input::PathInput::range_type input::PathInput::find_incomplete(utils::Directory&, const std::string&)': +path_input.cc:157:72: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const utils::directory_entry&; _Arg2 = const __cxx11::basic_string&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] + 157 | r.first = std::find_if(d.begin(), d.end(), rak::bind2nd(std::ptr_fun(&find_complete_not_compare), f)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1153:5: note: declared here + 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) + | ^~~~~~~ +path_input.cc:158:72: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const utils::directory_entry&; _Arg2 = const __cxx11::basic_string&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] + 158 | r.second = std::find_if(r.first, d.end(), rak::bind2nd(std::ptr_fun(&find_complete_compare), f)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1153:5: note: declared here + 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) + | ^~~~~~~ rm -f libsub_input.a ar cru libsub_input.a bindings.o input_event.o manager.o path_input.o text_input.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -4032,24 +4103,6 @@ g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o scgi.o scgi.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o scgi_task.o scgi_task.cc g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o xmlrpc.o xmlrpc.cc -In file included from ../../rak/priority_queue_default.h:42, - from ./../control.h:43, - from scgi_task.cc:50: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/torrent/exceptions.h:47, - from scgi_task.cc:44: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from command_scheduler.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { @@ -4125,40 +4178,17 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from scgi.h:41, - from scgi_task.cc:52: -../../rak/functional_fun.h: At global scope: -../../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 70 | class function_base1 : public std::unary_function { - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 78 | class function_base2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, - from command_map.cc:45: + from command_scheduler_item.h:40, + from command_scheduler_item.cc:41: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/vector:62, - from command_map.cc:39: +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from /usr/include/torrent/exceptions.h:47, + from command_scheduler_item.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -4167,28 +4197,16 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from command.h:240, - from object_storage.h:49, - from object_storage.cc:39: -command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from object_storage.h:46: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from command_scheduler_item.h:40, - from command_scheduler_item.cc:41: + from ./../control.h:43, + from scgi_task.cc:50: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13/string:47, from /usr/include/torrent/exceptions.h:47, - from command_scheduler_item.cc:39: + from scgi_task.cc:44: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -4197,19 +4215,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 parse_commands.h:43, - from object_storage.cc:43: -command_map.h: At global scope: -command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/hashtable.h:37, - from /usr/include/c++/13/bits/unordered_map.h:33, - from /usr/include/c++/13/unordered_map:41, - from object_storage.h:45: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../control.h:43, from scgi.cc:49: @@ -4308,26 +4313,6 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from command.h:240, - from command_map.cc:49: -command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from command_map.cc:41: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -In file included from command_map.cc:50: -command_map.h: At global scope: -command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/refwrap.h:39, - from /usr/include/c++/13/vector:68: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../thread_base.h:44, from exec_file.cc:49: @@ -4345,15 +4330,53 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from ./../core/download.h:47, + from command.cc:39: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/list:62, + from /usr/include/torrent/download.h:40, + from ./../core/download.h:40: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from command_map.cc:45: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/vector:62, + from command_map.cc:39: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from command.h:240, + from object_storage.h:49, + from object_storage.cc:39: +command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from object_storage.h:46: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -4364,6 +4387,19 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +In file included from parse_commands.h:43, + from object_storage.cc:43: +command_map.h: At global scope: +command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/hashtable.h:37, + from /usr/include/c++/13/bits/unordered_map.h:33, + from /usr/include/c++/13/unordered_map:41, + from object_storage.h:45: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -4390,6 +4426,62 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In file included from scgi.h:41, + from scgi_task.cc:52: +../../rak/functional_fun.h: At global scope: +../../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 70 | class function_base1 : public std::unary_function { + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49: +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 78 | class function_base2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +In file included from command.h:240, + from command_map.cc:49: +command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from command_map.cc:41: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +In file included from command.h:240, + from command.cc:42: +command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from parse.h:42, + from command.cc:40: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +In file included from command_map.cc:50: +command_map.h: At global scope: +command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/refwrap.h:39, + from /usr/include/c++/13/vector:68: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from command.h:240, from command_map.h:45, from parse_commands.h:43, @@ -4410,11 +4502,30 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from command_scheduler.h:43, - from command_scheduler.cc:46: -../../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 70 | class function_base1 : public std::unary_function { - | ^~~~~~~~~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438, + from /usr/include/c++/13/bits/refwrap.h:39, + from /usr/include/c++/13/vector:68, + from /usr/include/torrent/download.h:41: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +In file included from command.h:240, + from command_map.h:45, + from parse_commands.h:43, + from scgi.cc:52: +command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from command_map.h:43: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ parse_commands.cc:55:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 55 | struct command_map_is_space : std::unary_function { | ^~~~~~~~~~~~~~ @@ -4440,12 +4551,10 @@ /usr/include/c++/13/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 78 | class function_base2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ +command_map.h: At global scope: +command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -4455,6 +4564,45 @@ /usr/include/c++/13/bits/stl_function.h:1046:5: note: declared here 1046 | not1(const _Predicate& __pred) | ^~~~ +scgi.cc: In member function 'virtual void rpc::SCgi::event_read()': +scgi.cc:145:79: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = rpc::SCgiTask]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 145 | SCgiTask* task = std::find_if(m_task, m_task + max_tasks, std::mem_fun_ref(&SCgiTask::is_available)); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1389:5: note: declared here + 1389 | mem_fun_ref(_Ret (_Tp::*__f)() const) + | ^~~~~~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +In file included from command_scheduler.h:43, + from command_scheduler.cc:46: +../../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 70 | class function_base1 : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 78 | class function_base2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from command_scheduler_item.h:40, @@ -4468,25 +4616,6 @@ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from ./../core/download.h:47, - from command.cc:39: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/list:62, - from /usr/include/torrent/download.h:40, - from ./../core/download.h:40: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); @@ -4495,52 +4624,6 @@ In file included from command.h:240, from command_map.h:45, from parse_commands.h:43, - from scgi.cc:52: -command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from command_map.h:43: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -command_map.h: At global scope: -command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -scgi.cc: In member function 'virtual void rpc::SCgi::event_read()': -scgi.cc:145:79: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = rpc::SCgiTask]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 145 | SCgiTask* task = std::find_if(m_task, m_task + max_tasks, std::mem_fun_ref(&SCgiTask::is_available)); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1389:5: note: declared here - 1389 | mem_fun_ref(_Ret (_Tp::*__f)() const) - | ^~~~~~~~~~~ -In file included from command.h:240, - from command.cc:42: -command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from parse.h:42, - from command.cc:40: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from command.h:240, - from command_map.h:45, - from parse_commands.h:43, from xmlrpc.cc:50: command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] @@ -4550,18 +4633,6 @@ /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438, - from /usr/include/c++/13/bits/refwrap.h:39, - from /usr/include/c++/13/vector:68, - from /usr/include/torrent/download.h:41: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ command_map.h: At global scope: command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { @@ -4744,14 +4815,15 @@ 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, - from ./../display/manager.h:41, - from element_file_list.cc:45: + from ./../control.h:43, + from element_string_list.cc:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/algorithm:60, - from ../../rak/algorithm.h:40: +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from /usr/include/torrent/exceptions.h:47, + from element_string_list.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -4760,38 +4832,32 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from ./../rpc/command.h:240, - from ./../rpc/command_map.h:45, - from ./../display/text_element.h:44, - from ./../display/window_text.h:42, - from element_menu.cc:42: -./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./../rpc/command_map.h:43: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -./../rpc/command_map.h: At global scope: -./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ +In file included from ./../display/window.h:41, + from element_base.cc:42: +../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 174 | struct less2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, from /usr/include/torrent/exceptions.h:47, - from element_menu.cc:39: + from element_base.cc:39: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../display/window.h:41, - from ./../display/window_tracker_list.h:40, - from element_tracker_list.cc:44: + from ./../display/window_download_chunks_seen.h:42, + from element_chunks_seen.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, from /usr/include/torrent/exceptions.h:47, - from element_tracker_list.cc:39: + from element_chunks_seen.cc:39: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 213 | struct greater2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -4813,12 +4879,36 @@ /usr/include/c++/13/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++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 279 | struct on_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 299 | struct on2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 320 | struct mem_ptr_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -4831,6 +4921,18 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 341 | struct mem_ref_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 352 | struct const_mem_ref_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -4846,6 +4948,12 @@ ../../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:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 395 | struct call_delete : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ @@ -4855,46 +4963,48 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 551 | class mem_fun2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from ./../display/window.h:44, - from ./../display/window_text.h:43: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../display/window.h:41, - from element_base.cc:42: + from ./../display/window_download_transfer_list.h:43, + from element_transfer_list.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, from /usr/include/torrent/exceptions.h:47, - from element_base.cc:39: + from element_transfer_list.cc:39: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 408 | class bind1st_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 433 | class bind2nd_t : public std::unary_function { + | ^~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 551 | class mem_fun2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 551 | class mem_fun2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -4937,85 +5047,27 @@ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from ./../display/window.h:44: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +In file included from ./../display/window.h:41, + from ./../display/window_tracker_list.h:40, + from element_tracker_list.cc:44: +../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 174 | struct less2_t : public std::binary_function { + | ^~~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 551 | class mem_fun2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from ./../display/window.h:44: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from ./../rpc/command.h:240, - from ./../rpc/command_map.h:45, - from ./../display/text_element.h:44, - from ./../display/text_element_string.h:44, - from element_file_list.cc:46: -./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./../rpc/command_map.h:43: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -./../rpc/command_map.h: At global scope: -./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from ./../display/window.h:41, - from ./../display/window_download_chunks_seen.h:42, - from element_chunks_seen.cc:42: -../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 174 | struct less2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, from /usr/include/torrent/exceptions.h:47, - from element_chunks_seen.cc:39: + from element_tracker_list.cc:39: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -5025,6 +5077,12 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 551 | class mem_fun2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/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 { | ^~~~~~~~~~~~~~ @@ -5086,15 +5144,53 @@ 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42, - from ./../control.h:43, - from element_string_list.cc:44: + from ./../display/manager.h:41, + from element_log_complete.cc:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13/string:47, from /usr/include/torrent/exceptions.h:47, - from element_string_list.cc:39: + from element_log_complete.cc:39: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from ./../display/window.h:44: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from ./../display/window.h:44: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from ./../display/window.h:44: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -5103,17 +5199,27 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../display/window.h:44: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13/string:47: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +../../rak/priority_queue_default.h: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."); @@ -5121,14 +5227,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 ./../display/manager.h:41, - from element_log_complete.cc:44: + from element_file_list.cc:45: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/torrent/exceptions.h:47, - from element_log_complete.cc:39: +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/algorithm:60, + from ../../rak/algorithm.h:40: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -5138,24 +5243,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../display/window.h:41, - from ./../display/window_string_list.h:43, - from element_string_list.h:48, - from element_string_list.cc:45: -../../rak/functional.h: At global scope: -../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 174 | struct less2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 213 | struct greater2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from ./../display/window.h:41, from ./../display/window_log_complete.h:42, from element_log_complete.cc:45: ../../rak/functional.h: At global scope: @@ -5166,18 +5253,6 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 273 | struct invert : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 279 | struct on_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ @@ -5244,72 +5319,6 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 299 | struct on2_t : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 320 | struct mem_ptr_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 341 | struct mem_ref_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 352 | struct const_mem_ref_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 395 | struct call_delete : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 408 | class bind1st_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 433 | class bind2nd_t : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 551 | class mem_fun2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from download_list.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { @@ -5390,42 +5399,15 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from ./../display/window.h:41, - from ./../display/window_download_transfer_list.h:43, - from element_transfer_list.cc:42: + from ./../display/window_string_list.h:43, + from element_string_list.h:48, + from element_string_list.cc:45: +../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/torrent/exceptions.h:47, - from element_transfer_list.cc:39: +In file included from /usr/include/c++/13/string:49: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -5495,53 +5477,16 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from ./../display/window.h:44: + from ./../display/manager.h:41, + from element_peer_list.cc:46: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from ../../rak/priority_queue_default.h:42, - from ./../globals.h:41, - from ./../core/download.h:47, - from download.cc:50: -../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/bits/hashtable_policy.h:36, - from /usr/include/c++/13/bits/hashtable.h:35, - from /usr/include/c++/13/bits/unordered_map.h:33, - from /usr/include/c++/13/unordered_map:41, - from /usr/include/c++/13/functional:63: + from /usr/include/c++/13/string:47, + from /usr/include/torrent/exceptions.h:47, + from element_peer_list.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -5554,6 +5499,19 @@ from ./../rpc/command_map.h:45, from ./../display/text_element.h:44, from ./../display/window_text.h:42, + from element_menu.cc:42: +./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./../rpc/command_map.h:43: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +In file included from ./../rpc/command.h:240, + from ./../rpc/command_map.h:45, + from ./../display/text_element.h:44, + from ./../display/window_text.h:42, from element_text.cc:42: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] @@ -5569,6 +5527,16 @@ | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, from /usr/include/torrent/exceptions.h:47, + from element_menu.cc:39: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +./../rpc/command_map.h: At global scope: +./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from /usr/include/torrent/exceptions.h:47, from element_text.cc:39: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function @@ -5583,15 +5551,14 @@ 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42, - from ./../display/manager.h:41, - from element_peer_list.cc:46: + from ./../globals.h:41, + from ./../display/window.h:44, + from ./../display/window_text.h:43: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/torrent/exceptions.h:47, - from element_peer_list.cc:39: + from /usr/include/c++/13/string:47: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -5617,6 +5584,44 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +In file included from ./../rpc/command.h:240, + from ./../rpc/command_map.h:45, + from ./../display/text_element.h:44, + from ./../display/text_element_string.h:44, + from element_file_list.cc:46: +./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./../rpc/command_map.h:43: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +./../rpc/command_map.h: At global scope: +./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, @@ -5636,15 +5641,114 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +In file included from ./../rpc/command.h:240, + from ./../rpc/command_map.h:45, + from ./../display/text_element.h:44, + from ./../display/text_element_string.h:44, + from element_peer_list.cc:47: +./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./../rpc/command_map.h:43: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +./../rpc/command_map.h: At global scope: +./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from ./../rpc/command.h:240, + from ./../rpc/command_map.h:45, + from ./../rpc/parse_commands.h:43, + from element_download_list.cc:50: +./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from element_download_list.cc:40: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +./../rpc/command_map.h: At global scope: +./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42, from ./../globals.h:41, from ./../core/download.h:47, - from download_list.cc:47: + from download.cc:50: ../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/bits/hashtable_policy.h:36, + from /usr/include/c++/13/bits/hashtable.h:35, + from /usr/include/c++/13/bits/unordered_map.h:33, + from /usr/include/c++/13/unordered_map:41, + from /usr/include/c++/13/functional:63: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -5677,26 +5781,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 ./../rpc/command.h:240, - from ./../rpc/command_map.h:45, - from ./../display/text_element.h:44, - from ./../display/text_element_string.h:44, - from download.cc:56: -./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./../rpc/command_map.h:43: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -./../rpc/command_map.h: At global scope: -./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ +element_peer_list.cc: In constructor 'ui::ElementPeerList::ElementPeerList(core::Download*)': +element_peer_list.cc:65:77: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = __cxx11::list; _Arg = torrent::Peer* const&]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 65 | rak::bind1st(std::mem_fun(&PList::push_back), &m_list)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1395:5: note: declared here + 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) + | ^~~~~~~ +In file included from ../../rak/priority_queue_default.h:42, + from ./../globals.h:41, + from ./../core/download.h:47, + from download_list.cc:47: +../../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../display/window.h:41, from ./../display/window_http_queue.h:42, from root.cc:50: @@ -5774,36 +5882,29 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -download.cc: In destructor 'virtual ui::Download::~Download()': -download.cc:101:5: warning: 'throw' will always call 'terminate' [-Wterminate] - 101 | throw torrent::internal_error("ui::Download::~Download() called on an active object."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -download.cc:101:5: note: in C++11 destructors default to 'noexcept' -In file included from ./../rpc/command.h:240, - from ./../rpc/command_map.h:45, - from ./../rpc/parse_commands.h:43, - from element_download_list.cc:50: -./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from element_download_list.cc:40: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -./../rpc/command_map.h: At global scope: -./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ +../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../../rak/priority_queue_default.h:113:18: required from here +../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../display/text_element.h:44, from ./../display/text_element_string.h:44, - from element_peer_list.cc:47: + from download.cc:56: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); @@ -5816,29 +5917,18 @@ ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, - from download_list.cc:60: + from root.cc:56: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./../core/view.h:55, - from download_list.cc:50: +In file included from ./../rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ @@ -5849,27 +5939,24 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from ./../rpc/command.h:240, from ./../rpc/command_map.h:45, from ./../rpc/parse_commands.h:43, - from root.cc:56: + from download_list.cc:60: ./../rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': ./../rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./../rpc/command_map.h:43: +In file included from ./../core/view.h:55, + from download_list.cc:50: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ +download.cc: In destructor 'virtual ui::Download::~Download()': +download.cc:101:5: warning: 'throw' will always call 'terminate' [-Wterminate] + 101 | throw torrent::internal_error("ui::Download::~Download() called on an active object."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +download.cc:101:5: note: in C++11 destructors default to 'noexcept' ./../rpc/command_map.h: At global scope: ./../rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { @@ -5877,27 +5964,15 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../../rak/priority_queue_default.h:113:18: required from here -../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ download_list.cc: In destructor 'virtual ui::DownloadList::~DownloadList()': download_list.cc:87:5: warning: 'throw' will always call 'terminate' [-Wterminate] 87 | throw std::logic_error("ui::DownloadList::~DownloadList() called on an active object"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download_list.cc:87:5: note: in C++11 destructors default to 'noexcept' -element_peer_list.cc: In constructor 'ui::ElementPeerList::ElementPeerList(core::Download*)': -element_peer_list.cc:65:77: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = __cxx11::list; _Arg = torrent::Peer* const&]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 65 | rak::bind1st(std::mem_fun(&PList::push_back), &m_list)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1395:5: note: declared here - 1395 | mem_fun(_Ret (_Tp::*__f)(_Arg)) - | ^~~~~~~ +root.cc: In member function 'void ui::Root::load_input_history()': +root.cc:416:23: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] + 416 | if (delim_pos != std::string::npos) { + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -5907,10 +5982,6 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -root.cc: In member function 'void ui::Root::load_input_history()': -root.cc:416:23: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] - 416 | if (delim_pos != std::string::npos) { - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here ../../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -5966,6 +6037,48 @@ g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o globals.o globals.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o option_parser.o option_parser.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o signal_handler.o signal_handler.cc +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o thread_base.o thread_base.cc +g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o thread_worker.o thread_worker.cc +In file included from ../rak/priority_queue_default.h:42, + from globals.h:41, + from globals.cc:39: +../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/bits/hashtable_policy.h:36, + from /usr/include/c++/13/bits/hashtable.h:35, + from /usr/include/c++/13/bits/unordered_map.h:33, + from /usr/include/c++/13/unordered_map:41, + from /usr/include/c++/13/functional:63, + from ../rak/priority_queue_default.h:40: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from ../rak/priority_queue_default.h:42, + from thread_base.h:44, + from thread_worker.h:40, + from thread_worker.cc:39: +../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/bits/hashtable_policy.h:36, + from /usr/include/c++/13/bits/hashtable.h:35, + from /usr/include/c++/13/bits/unordered_map.h:33, + from /usr/include/c++/13/unordered_map:41, + from /usr/include/c++/13/functional:63, + from /usr/include/torrent/utils/signal_bitfield.h:40, + from /usr/include/torrent/utils/thread_base.h:43, + from thread_base.h:42: +/usr/include/c++/13/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' option_parser.cc: In static member function 'static bool OptionParser::has_flag(char, int, char**)': option_parser.cc:91:77: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const char*; _Arg2 = const char*; _Result = int]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 91 | return std::find_if(argv, argv + argc, std::not1(std::bind1st(std::ptr_fun(&std::strcmp), options))) != argv + argc; @@ -5989,40 +6102,62 @@ 1046 | not1(const _Predicate& __pred) | ^~~~ In file included from ../rak/priority_queue_default.h:42, - from core/curl_stack.h:43, - from core/poll_manager.h:40, - from core/manager.h:47, - from control.cc:44: + from globals.h:41, + from command_helpers.cc:41: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/list:62, - from /usr/include/torrent/connection_manager.h:42, - from control.cc:41: +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from /usr/include/torrent/exceptions.h:47, + from command_helpers.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42, from globals.h:41, - from globals.cc:39: + from command_dynamic.cc:43: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/bits/hashtable_policy.h:36, - from /usr/include/c++/13/bits/hashtable.h:35, - from /usr/include/c++/13/bits/unordered_map.h:33, - from /usr/include/c++/13/unordered_map:41, - from /usr/include/c++/13/functional:63, - from ../rak/priority_queue_default.h:40: + from /usr/include/c++/13/algorithm:60, + from command_dynamic.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from ../rak/priority_queue_default.h:42, - from ./globals.h:41, - from core/download.h:47, - from command_tracker.cc:46: + from core/curl_stack.h:43, + from core/poll_manager.h:40, + from core/manager.h:47, + from command_scheduler.cc:41: +../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/vector:62, + from core/manager.h:41: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from ../rak/priority_queue_default.h:42, + from core/curl_stack.h:43, + from core/poll_manager.h:40, + from core/manager.h:47, + from command_throttle.cc:45: +../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from ../rak/priority_queue_default.h:42, + from core/curl_stack.h:43, + from core/poll_manager.h:40, + from core/manager.h:47, + from control.cc:44: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ @@ -6030,7 +6165,14 @@ from /usr/include/c++/13/string:47, from ../rak/socket_address.h:51, from ../rak/address_info.h:47, - from command_tracker.cc:40: + from command_throttle.cc:40: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/list:62, + from /usr/include/torrent/connection_manager.h:42, + from control.cc:41: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -6039,15 +6181,29 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from ../rak/priority_queue_default.h:42, + from core/curl_stack.h:43, + from core/poll_manager.h:40, + from core/manager.h:47, + from command_file.cc:45: +../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from ../rak/path.h:44, + from command_file.cc:40: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42, - from ./globals.h:41, - from core/download.h:47, - from command_local.cc:53: + from thread_base.h:44, + from thread_base.cc:39: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ @@ -6057,7 +6213,9 @@ from /usr/include/c++/13/bits/unordered_map.h:33, from /usr/include/c++/13/unordered_map:41, from /usr/include/c++/13/functional:63, - from command_local.cc:40: + from /usr/include/torrent/utils/signal_bitfield.h:40, + from /usr/include/torrent/utils/thread_base.h:43, + from thread_base.h:42: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -6066,50 +6224,28 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from rpc/command.h:240, - from command_helpers.h:40, - from command_tracker.cc:51: -rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rpc/command.h:43: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -In file included from rpc/parse_commands.h:43, - from command_helpers.h:41: -rpc/command_map.h: At global scope: -rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from ../rak/priority_queue_default.h:42, - from globals.h:41, - from command_dynamic.cc:43: -../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/algorithm:60, - from command_dynamic.cc:39: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ +../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../rak/priority_queue_default.h:113:18: required from here +../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438, + from /usr/include/c++/13/functional:49: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42, from ./globals.h:41, - from core/download.h:47, - from command_logging.cc:11: + from ui/download_list.h:41, + from ui/root.h:42, + from command_groups.cc:44: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/vector:62, - from /usr/include/torrent/data/chunk_utils.h:40, - from command_logging.cc:6: +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from /usr/include/torrent/download/resource_manager.h:40, + from command_groups.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -6118,19 +6254,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' -command_tracker.cc: In function 'torrent::Object apply_enable_trackers(int64_t)': -command_tracker.cc:103:37: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 103 | arg ? std::mem_fun(&torrent::Tracker::enable) : std::mem_fun(&torrent::Tracker::disable)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1371:5: note: declared here - 1371 | mem_fun(_Ret (_Tp::*__f)()) - | ^~~~~~~ -command_tracker.cc:103:79: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 103 | arg ? std::mem_fun(&torrent::Tracker::enable) : std::mem_fun(&torrent::Tracker::disable)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1371:5: note: declared here - 1371 | mem_fun(_Ret (_Tp::*__f)()) - | ^~~~~~~ In file included from main.cc:53: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { @@ -6151,6 +6274,11 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -6196,9 +6324,14 @@ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ +../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ +../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -6211,17 +6344,19 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42, - from core/curl_stack.h:43, - from core/poll_manager.h:40, - from core/manager.h:47, - from command_scheduler.cc:41: + from core/dht_manager.h:40, + from main.cc:60: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/vector:62, - from core/manager.h:41: +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -6231,6 +6366,21 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42, + from ./globals.h:41, + from core/download.h:47, + from command_tracker.cc:46: +../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from ../rak/socket_address.h:51, + from ../rak/address_info.h:47, + from command_tracker.cc:40: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from ../rak/priority_queue_default.h:42, from globals.h:41, from command_ip.cc:45: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] @@ -6247,14 +6397,30 @@ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42, - from core/dht_manager.h:40, - from main.cc:60: + from ./globals.h:41, + from core/download.h:47, + from command_network.cc:54: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47: +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/bits/hashtable_policy.h:36, + from /usr/include/c++/13/bits/hashtable.h:35, + from /usr/include/c++/13/bits/unordered_map.h:33, + from /usr/include/c++/13/unordered_map:41, + from /usr/include/c++/13/functional:63, + from command_network.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -6263,6 +6429,138 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from rpc/command.h:240, + from command_helpers.h:40, + from command_helpers.cc:43: +rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rpc/command.h:43: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +In file included from ../rak/priority_queue_default.h:42, + from ./globals.h:41, + from core/download.h:47, + from command_local.cc:53: +../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/bits/hashtable_policy.h:36, + from /usr/include/c++/13/bits/hashtable.h:35, + from /usr/include/c++/13/bits/unordered_map.h:33, + from /usr/include/c++/13/unordered_map:41, + from /usr/include/c++/13/functional:63, + from command_local.cc:40: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from rpc/parse_commands.h:43, + from command_helpers.h:41: +rpc/command_map.h: At global scope: +rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from rpc/command.h:240, + from command_helpers.h:40, + from command_file.cc:49: +rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rpc/command.h:43: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +In file included from rpc/parse_commands.h:43, + from command_helpers.h:41: +rpc/command_map.h: At global scope: +rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from rpc/command.h:240, + from rpc/command_map.h:45, + from rpc/parse_commands.h:43, + from command_groups.cc:46: +rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rpc/parse.h:42, + from command_groups.cc:45: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +rpc/command_map.h: At global scope: +rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from rpc/command.h:240, + from command_helpers.h:40, + from command_dynamic.cc:45: +rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rpc/command.h:43: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +In file included from command_download.cc:47: +../rak/regex.h:53:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 53 | class regex : public std::unary_function { + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/functional:49, + from command_download.cc:39: +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +In file included from rpc/parse_commands.h:43, + from command_helpers.h:41: +rpc/command_map.h: At global scope: +rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49, + from /usr/include/c++/13/bitset:52, + from /usr/include/torrent/utils/log.h:40, + from command_dynamic.cc:40: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from ../rak/priority_queue_default.h:42, + from ./globals.h:41, + from core/download.h:47, + from command_logging.cc:11: +../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/vector:62, + from /usr/include/torrent/data/chunk_utils.h:40, + from command_logging.cc:6: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); @@ -6345,27 +6643,124 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +In file included from rpc/command.h:240, + from command_helpers.h:40, + from command_ip.cc:46: +rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rpc/command.h:43: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +In file included from rpc/scgi.h:41, + from thread_worker.cc:50: +../rak/functional_fun.h: At global scope: +../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 70 | class function_base1 : public std::unary_function { + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/functional:49: +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 78 | class function_base2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from rpc/parse_commands.h:43, + from command_helpers.h:41: +rpc/command_map.h: At global scope: +rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from rpc/command.h:240, + from command_helpers.h:40, + from command_tracker.cc:51: +rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rpc/command.h:43: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +In file included from rpc/command.h:240, + from rpc/command_map.h:45, + from rpc/parse_commands.h:43, + from command_throttle.cc:48: +rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rpc/parse.h:42, + from command_throttle.cc:47: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +In file included from rpc/scgi.h:41, + from command_network.cc:56: +../rak/functional_fun.h: At global scope: +../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] + 70 | class function_base1 : public std::unary_function { + | ^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/functional:49: +/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here + 117 | struct unary_function + | ^~~~~~~~~~~~~~ +../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 78 | class function_base2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from rpc/parse_commands.h:43, + from command_helpers.h:41: +rpc/command_map.h: At global scope: +rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/stl_function.h:1438: /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +rpc/command_map.h: At global scope: +rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/string:49: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ In file included from rpc/command.h:240, - from rpc/command_map.h:45, - from rpc/parse_commands.h:43, - from command_logging.cc:15: + from command_helpers.h:40, + from command_scheduler.cc:49: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from command_logging.cc:7: +In file included from core/view.h:55, + from command_scheduler.cc:44: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ +In file included from rpc/parse_commands.h:43, + from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { @@ -6376,24 +6771,6 @@ 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42, - from globals.h:41, - from command_helpers.cc:41: -../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/torrent/exceptions.h:47, - from command_helpers.cc:39: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from ../rak/priority_queue_default.h:42, from core/curl_stack.h:43, from core/poll_manager.h:40, from core/manager.h:47, @@ -6432,87 +6809,45 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from ../rak/priority_queue_default.h:42, - from core/curl_stack.h:43, - from core/poll_manager.h:40, - from core/manager.h:47, - from command_file.cc:45: -../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from ../rak/path.h:44, - from command_file.cc:40: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o thread_base.o thread_base.cc -../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from ../rak/priority_queue_default.h:42, - from core/curl_stack.h:43, - from core/poll_manager.h:40, - from core/manager.h:47, - from command_throttle.cc:45: -../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from ../rak/socket_address.h:51, - from ../rak/address_info.h:47, - from command_throttle.cc:40: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ +command_groups.cc: In function 'int64_t cg_get_index(const torrent::Object&)': +command_groups.cc:141:111: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = torrent::choke_group]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 141 | rak::equal(arg.as_string(), std::mem_fun(&torrent::choke_group::name))); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here + 1377 | mem_fun(_Ret (_Tp::*__f)() const) + | ^~~~~~~ +command_groups.cc: In function 'torrent::Object apply_cg_insert(const std::string&)': +command_groups.cc:194:48: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = torrent::choke_group]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 194 | rak::equal(arg, std::mem_fun(&torrent::choke_group::name))) != cg_list_hack.end()) + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here + 1377 | mem_fun(_Ret (_Tp::*__f)() const) + | ^~~~~~~ +command_groups.cc: In function 'torrent::Object apply_cg_index_of(const std::string&)': +command_groups.cc:209:88: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = torrent::choke_group]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 209 | std::find_if(cg_list_hack.begin(), cg_list_hack.end(), rak::equal(arg, std::mem_fun(&torrent::choke_group::name))); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here + 1377 | mem_fun(_Ret (_Tp::*__f)() const) + | ^~~~~~~ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, - from control.cc:56: -rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from core/view.h:55, - from core/view_manager.h:43, - from control.cc:46: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -rpc/command_map.h: At global scope: -rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from rpc/command.h:240, - from command_helpers.h:40, - from command_ip.cc:46: + from command_logging.cc:15: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rpc/command.h:43: +In file included from command_logging.cc:7: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ -In file included from rpc/parse_commands.h:43, - from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: +In file included from /usr/include/c++/13/bits/refwrap.h:39, + from /usr/include/c++/13/vector:68: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -6525,55 +6860,31 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from rpc/command.h:240, - from command_helpers.h:40, - from command_dynamic.cc:45: -rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rpc/command.h:43: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ +command_tracker.cc: In function 'torrent::Object apply_enable_trackers(int64_t)': +command_tracker.cc:103:37: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 103 | arg ? std::mem_fun(&torrent::Tracker::enable) : std::mem_fun(&torrent::Tracker::disable)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1371:5: note: declared here + 1371 | mem_fun(_Ret (_Tp::*__f)()) + | ^~~~~~~ +command_tracker.cc:103:79: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 103 | arg ? std::mem_fun(&torrent::Tracker::enable) : std::mem_fun(&torrent::Tracker::disable)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1371:5: note: declared here + 1371 | mem_fun(_Ret (_Tp::*__f)()) + | ^~~~~~~ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, - from command_local.cc:58: + from thread_worker.cc:52: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rpc/parse_commands.h:43, - from command_helpers.h:41: -rpc/command_map.h: At global scope: -rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ In file included from rpc/command_map.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ -In file included from /usr/include/c++/13/string:49, - from /usr/include/c++/13/bitset:52, - from /usr/include/torrent/utils/log.h:40, - from command_dynamic.cc:40: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -rpc/command_map.h: At global scope: -rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/functional:49: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ In file included from command_ui.cc:44: ../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { @@ -6649,193 +6960,60 @@ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ +rpc/command_map.h: At global scope: +rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ -../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 551 | class mem_fun2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from rpc/scgi.h:41, - from command_local.cc:59: -../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 70 | class function_base1 : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 78 | class function_base2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../rak/priority_queue_default.h:113:18: required from here -../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438, - from /usr/include/c++/13/functional:49: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from ../rak/priority_queue_default.h:42, - from ./globals.h:41, - from core/download.h:47, - from command_events.cc:50: -../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/bits/hashtable_policy.h:36, - from /usr/include/c++/13/bits/hashtable.h:35, - from /usr/include/c++/13/bits/unordered_map.h:33, - from /usr/include/c++/13/unordered_map:41, - from /usr/include/c++/13/functional:63, - from command_events.cc:39: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from command_ui.cc:46: -../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 70 | class function_base1 : public std::unary_function { - | ^~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ In file included from rpc/command.h:240, - from command_helpers.h:40, - from command_helpers.cc:43: + from rpc/command_map.h:45, + from rpc/parse_commands.h:43, + from control.cc:56: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rpc/command.h:43: +In file included from core/view.h:55, + from core/view_manager.h:43, + from control.cc:46: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ -../rak/functional_fun.h:78:36: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 78 | class function_base2 : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from rpc/parse_commands.h:43, - from command_helpers.h:41: -rpc/command_map.h: At global scope: -rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: +../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 551 | class mem_fun2 : public std::binary_function { + | ^~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../rak/priority_queue_default.h:113:18: required from here -../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ -In file included from ../rak/priority_queue_default.h:42, - from ./globals.h:41, - from ui/download_list.h:41, - from ui/root.h:42, - from command_groups.cc:44: -../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/torrent/download/resource_manager.h:40, - from command_groups.cc:39: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -command_local.cc: In function 'void file_print_list(torrent::Object::list_const_iterator, torrent::Object::list_const_iterator, FILE*, int)': -command_local.cc:198:44: warning: format '%lli' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] - 198 | fprintf(output, (const char*)" %lli" + !(flags & file_print_use_space), first->as_value()); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ - | | - | long int -command_local.cc:198:41: warning: format '%lli' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] - 198 | fprintf(output, (const char*)" %lli" + !(flags & file_print_use_space), first->as_value()); - | ~~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long long int long int - | %li -In file included from ../rak/priority_queue_default.h:42, - from core/curl_stack.h:43, - from core/poll_manager.h:40, - from core/manager.h:47, - from command_ui.cc:49: -../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/bitset:49: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ In file included from rpc/command.h:240, - from command_helpers.h:40, - from command_file.cc:49: + from rpc/command_map.h:45, + from rpc/parse_commands.h:43, + from command_network.cc:59: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rpc/command.h:43: +In file included from rpc/parse.h:42, + from command_network.cc:58: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ -In file included from rpc/parse_commands.h:43, - from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -In file included from rpc/command.h:240, - from command_helpers.h:40, - from command_peer.cc:54: -rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rpc/command.h:43: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -In file included from rpc/parse_commands.h:43, - from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ @@ -6848,30 +7026,7 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from rpc/command.h:240, - from rpc/command_map.h:45, - from rpc/parse_commands.h:43, - from command_throttle.cc:48: -rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rpc/parse.h:42, - from command_throttle.cc:47: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -rpc/command_map.h: At global scope: -rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/string:49: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from rpc/command_scheduler.h:43, - from main.cc:71: -../rak/functional_fun.h: At global scope: +In file included from command_ui.cc:46: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ @@ -6893,48 +7048,6 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from rpc/command.h:240, - from rpc/command_map.h:45, - from rpc/parse_commands.h:43, - from main.cc:73: -rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from core/dht_manager.h:42: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -rpc/command_map.h: At global scope: -rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -In file included from rpc/command.h:240, - from command_helpers.h:40, - from command_scheduler.cc:49: -rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from core/view.h:55, - from command_scheduler.cc:44: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -In file included from rpc/parse_commands.h:43, - from command_helpers.h:41: -rpc/command_map.h: At global scope: -rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/refwrap.h:39, - from /usr/include/c++/13/vector:68: -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -6945,12 +7058,11 @@ 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from rpc/command_scheduler.h:43, - from command_events.cc:54: + from main.cc:71: ../rak/functional_fun.h: At global scope: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/functional:49: /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ @@ -6960,30 +7072,10 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -In file included from rpc/command.h:240, - from rpc/command_map.h:45, - from rpc/parse_commands.h:43, - from command_events.cc:56: -rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from core/view.h:55, - from core/view_manager.h:43, - from command_events.cc:53: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -rpc/command_map.h: At global scope: -rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42, - from thread_base.h:44, - from thread_base.cc:39: + from ./globals.h:41, + from core/download.h:47, + from command_download.cc:63: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ @@ -6992,13 +7084,15 @@ from /usr/include/c++/13/bits/hashtable.h:35, from /usr/include/c++/13/bits/unordered_map.h:33, from /usr/include/c++/13/unordered_map:41, - from /usr/include/c++/13/functional:63, - from /usr/include/torrent/utils/signal_bitfield.h:40, - from /usr/include/torrent/utils/thread_base.h:43, - from thread_base.h:42: + from /usr/include/c++/13/functional:63: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -7018,20 +7112,30 @@ 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from rpc/command.h:240, - from command_helpers.h:40, - from command_ui.cc:57: + from rpc/command_map.h:45, + from rpc/parse_commands.h:43, + from main.cc:73: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from core/view.h:55, - from core/view_manager.h:43, - from command_ui.cc:50: +In file included from core/dht_manager.h:42: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ -In file included from rpc/parse_commands.h:43, - from command_helpers.h:41: +In file included from ../rak/priority_queue_default.h:42, + from core/curl_stack.h:43, + from core/poll_manager.h:40, + from core/manager.h:47, + from command_ui.cc:49: +../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 117 | : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/bitset:49: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { @@ -7057,26 +7161,33 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ +../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': +../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../rak/priority_queue_default.h:113:18: required from here +../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ In file included from rpc/command.h:240, - from rpc/command_map.h:45, - from rpc/parse_commands.h:43, - from command_groups.cc:46: + from command_helpers.h:40, + from command_peer.cc:54: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rpc/parse.h:42, - from command_groups.cc:45: +In file included from rpc/command.h:43: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ -command_events.cc: In function 'torrent::Object apply_close_low_diskspace(int64_t)': -command_events.cc:225:68: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = core::Download]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 225 | while ((itr = std::find_if(itr, downloadList->end(), std::mem_fun(&core::Download::is_downloading))) - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here - 1377 | mem_fun(_Ret (_Tp::*__f)() const) - | ^~~~~~~ +In file included from rpc/parse_commands.h:43, + from command_helpers.h:41: rpc/command_map.h: At global scope: rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 49 | struct command_map_comp : public std::binary_function { @@ -7094,35 +7205,54 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -c -o thread_worker.o thread_worker.cc -In file included from ../rak/priority_queue_default.h:42, - from ./globals.h:41, - from core/download.h:47, - from command_network.cc:54: -../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/bits/hashtable_policy.h:36, - from /usr/include/c++/13/bits/hashtable.h:35, - from /usr/include/c++/13/bits/unordered_map.h:33, - from /usr/include/c++/13/unordered_map:41, - from /usr/include/c++/13/functional:63, - from command_network.cc:39: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' +In file included from rpc/command.h:240, + from command_helpers.h:40, + from command_download.cc:70: +rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rpc/parse.h:42, + from command_download.cc:66: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +In file included from rpc/parse_commands.h:43, + from command_helpers.h:41: +rpc/command_map.h: At global scope: +rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ +In file included from rpc/command.h:240, + from rpc/command_map.h:45, + from rpc/parse_commands.h:43, + from command_local.cc:58: +rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from rpc/command_map.h:43: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +rpc/command_map.h: At global scope: +rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] + 49 | struct command_map_comp : public std::binary_function { + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/functional:49: +/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here + 131 | struct binary_function + | ^~~~~~~~~~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: +In file included from /usr/include/c++/13/bits/stl_function.h:1438, + from /usr/include/c++/13/functional:49: /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ @@ -7135,39 +7265,20 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -command_groups.cc: In function 'int64_t cg_get_index(const torrent::Object&)': -command_groups.cc:141:111: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = torrent::choke_group]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 141 | rak::equal(arg.as_string(), std::mem_fun(&torrent::choke_group::name))); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here - 1377 | mem_fun(_Ret (_Tp::*__f)() const) - | ^~~~~~~ -command_groups.cc: In function 'torrent::Object apply_cg_insert(const std::string&)': -command_groups.cc:194:48: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = torrent::choke_group]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 194 | rak::equal(arg, std::mem_fun(&torrent::choke_group::name))) != cg_list_hack.end()) - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here - 1377 | mem_fun(_Ret (_Tp::*__f)() const) - | ^~~~~~~ -command_groups.cc: In function 'torrent::Object apply_cg_index_of(const std::string&)': -command_groups.cc:209:88: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = torrent::choke_group]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] - 209 | std::find_if(cg_list_hack.begin(), cg_list_hack.end(), rak::equal(arg, std::mem_fun(&torrent::choke_group::name))); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here - 1377 | mem_fun(_Ret (_Tp::*__f)() const) +../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../rak/priority_queue_default.h:113:18: required from here +../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from rpc/scgi.h:41, - from command_network.cc:56: -../rak/functional_fun.h: At global scope: + from command_local.cc:59: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/functional:49: /usr/include/c++/13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ @@ -7186,77 +7297,31 @@ /usr/include/c++/13/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from command_download.cc:47: -../rak/regex.h:53:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] - 53 | class regex : public std::unary_function { - | ^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/functional:49, - from command_download.cc:39: -/usr/include/c++/13/bits/stl_function.h:117:12: note: declared here - 117 | struct unary_function - | ^~~~~~~~~~~~~~ -../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../rak/priority_queue_default.h:113:18: required from here -../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) +command_download.cc: In function 'torrent::Object d_list_push_back_unique(core::Download*, const torrent::Object&, const char*, const char*)': +command_download.cc:597:45: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const torrent::Object&; _Arg2 = const torrent::Object&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] + 597 | rak::bind1st(std::ptr_fun(&torrent::object_equal), args)) == list.end()) + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1153:5: note: declared here + 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ -In file included from rpc/command.h:240, - from rpc/command_map.h:45, - from rpc/parse_commands.h:43, - from command_network.cc:59: -rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rpc/parse.h:42, - from command_network.cc:58: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -rpc/command_map.h: At global scope: -rpc/command_map.h:49:39: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] - 49 | struct command_map_comp : public std::binary_function { - | ^~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:131:12: note: declared here - 131 | struct binary_function - | ^~~~~~~~~~~~~~~ -../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../rak/priority_queue_default.h:113:18: required from here -../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438, - from /usr/include/c++/13/functional:49: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) +command_download.cc: In function 'torrent::Object d_list_has(core::Download*, const torrent::Object&, const char*, const char*)': +command_download.cc:609:58: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const torrent::Object&; _Arg2 = const torrent::Object&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] + 609 | rak::bind1st(std::ptr_fun(&torrent::object_equal), args)) != list.end()); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1153:5: note: declared here + 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) + | ^~~~~~~ +command_download.cc: In function 'torrent::Object d_list_remove(core::Download*, const torrent::Object&, const char*, const char*)': +command_download.cc:617:80: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const torrent::Object&; _Arg2 = const torrent::Object&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] + 617 | list.erase(std::remove_if(list.begin(), list.end(), rak::bind1st(std::ptr_fun(&torrent::object_equal), args)), list.end()); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1153:5: note: declared here + 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ -In file included from ../rak/priority_queue_default.h:42, - from thread_base.h:44, - from thread_worker.h:40, - from thread_worker.cc:39: -../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 117 | : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/bits/hashtable_policy.h:36, - from /usr/include/c++/13/bits/hashtable.h:35, - from /usr/include/c++/13/bits/unordered_map.h:33, - from /usr/include/c++/13/unordered_map:41, - from /usr/include/c++/13/functional:63, - from /usr/include/torrent/utils/signal_bitfield.h:40, - from /usr/include/torrent/utils/thread_base.h:43, - from thread_base.h:42: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ In file included from ../rak/priority_queue_default.h:42, from ./globals.h:41, from core/download.h:47, - from command_download.cc:63: + from command_events.cc:50: ../rak/priority_queue.h:117:17: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | : public std::iterator { | ^~~~~~~~ @@ -7265,7 +7330,8 @@ from /usr/include/c++/13/bits/hashtable.h:35, from /usr/include/c++/13/bits/unordered_map.h:33, from /usr/include/c++/13/unordered_map:41, - from /usr/include/c++/13/functional:63: + from /usr/include/c++/13/functional:63, + from command_events.cc:39: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -7274,24 +7340,16 @@ 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': -../rak/priority_queue_default.h:113:18: required from here -../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] - 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_function.h:1438: -/usr/include/c++/13/backward/binders.h:172:5: note: declared here - 172 | bind2nd(const _Operation& __fn, const _Tp& __x) - | ^~~~~~~ In file included from rpc/command.h:240, from command_helpers.h:40, - from command_download.cc:70: + from command_ui.cc:57: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rpc/parse.h:42, - from command_download.cc:66: +In file included from core/view.h:55, + from core/view_manager.h:43, + from command_ui.cc:50: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ @@ -7304,34 +7362,29 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ -../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': -../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' -command_download.cc: In function 'torrent::Object d_list_push_back_unique(core::Download*, const torrent::Object&, const char*, const char*)': -command_download.cc:597:45: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const torrent::Object&; _Arg2 = const torrent::Object&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] - 597 | rak::bind1st(std::ptr_fun(&torrent::object_equal), args)) == list.end()) - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1153:5: note: declared here - 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) - | ^~~~~~~ -command_download.cc: In function 'torrent::Object d_list_has(core::Download*, const torrent::Object&, const char*, const char*)': -command_download.cc:609:58: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const torrent::Object&; _Arg2 = const torrent::Object&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] - 609 | rak::bind1st(std::ptr_fun(&torrent::object_equal), args)) != list.end()); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1153:5: note: declared here - 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) - | ^~~~~~~ -command_download.cc: In function 'torrent::Object d_list_remove(core::Download*, const torrent::Object&, const char*, const char*)': -command_download.cc:617:80: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const torrent::Object&; _Arg2 = const torrent::Object&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] - 617 | list.erase(std::remove_if(list.begin(), list.end(), rak::bind1st(std::ptr_fun(&torrent::object_equal), args)), list.end()); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/13/bits/stl_function.h:1153:5: note: declared here - 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) +command_local.cc: In function 'void file_print_list(torrent::Object::list_const_iterator, torrent::Object::list_const_iterator, FILE*, int)': +command_local.cc:198:44: warning: format '%lli' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] + 198 | fprintf(output, (const char*)" %lli" + !(flags & file_print_use_space), first->as_value()); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ + | | + | long int +command_local.cc:198:41: warning: format '%lli' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] + 198 | fprintf(output, (const char*)" %lli" + !(flags & file_print_use_space), first->as_value()); + | ~~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long long int long int + | %li +../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../rak/priority_queue_default.h:113:18: required from here +../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ -In file included from rpc/scgi.h:41, - from thread_worker.cc:50: +In file included from rpc/command_scheduler.h:43, + from command_events.cc:54: ../rak/functional_fun.h: At global scope: ../rak/functional_fun.h:70:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 70 | class function_base1 : public std::unary_function { @@ -7349,12 +7402,14 @@ In file included from rpc/command.h:240, from rpc/command_map.h:45, from rpc/parse_commands.h:43, - from thread_worker.cc:52: + from command_events.cc:56: rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from rpc/command_map.h:43: +In file included from core/view.h:55, + from core/view_manager.h:43, + from command_events.cc:53: /usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here 49 | class LIBTORRENT_EXPORT Object { | ^~~~~~ @@ -7365,6 +7420,22 @@ /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ +command_events.cc: In function 'torrent::Object apply_close_low_diskspace(int64_t)': +command_events.cc:225:68: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = core::Download]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] + 225 | while ((itr = std::find_if(itr, downloadList->end(), std::mem_fun(&core::Download::is_downloading))) + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/13/bits/stl_function.h:1377:5: note: declared here + 1377 | mem_fun(_Ret (_Tp::*__f)() const) + | ^~~~~~~ +../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': +../rak/priority_queue_default.h:113:18: required from here +../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] + 84 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_function.h:1438: +/usr/include/c++/13/backward/binders.h:172:5: note: declared here + 172 | bind2nd(const _Operation& __fn, const _Tp& __x) + | ^~~~~~~ ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here ../rak/priority_queue.h:84:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] @@ -7391,7 +7462,7 @@ ar cru libsub_root.a command_download.o command_dynamic.o command_events.o command_file.o command_ip.o command_helpers.o command_groups.o command_local.o command_logging.o command_network.o command_peer.o command_throttle.o command_tracker.o command_scheduler.o command_ui.o control.o globals.o option_parser.o signal_handler.o thread_base.o thread_worker.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libsub_root.a -/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -Wl,-z,relro -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -ltinfo -lcppunit -lcurl -ltorrent -L/usr/lib/x86_64-linux-gnu -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -Wl,-z,relro -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -ltinfo -lcppunit -lcurl -ltorrent -L/usr/lib/x86_64-linux-gnu -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util libtool: link: g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -Wl,-z -Wl,relro -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -ltinfo -lcppunit -lcurl -ltorrent -L/usr/lib/x86_64-linux-gnu -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util make[4]: Leaving directory '/build/reproducible-path/rtorrent-0.9.8/src' make[3]: Leaving directory '/build/reproducible-path/rtorrent-0.9.8/src' @@ -7404,7 +7475,7 @@ make[2]: Leaving directory '/build/reproducible-path/rtorrent-0.9.8' make[1]: Leaving directory '/build/reproducible-path/rtorrent-0.9.8' dh_auto_test - make -j20 check "TESTSUITEFLAGS=-j20 --verbose" VERBOSE=1 + make -j42 check "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/rtorrent-0.9.8' Making check in doc make[2]: Entering directory '/build/reproducible-path/rtorrent-0.9.8/doc' @@ -7473,18 +7544,6 @@ 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../src/rpc/command.h:240, - from ../src/rpc/object_storage.h:49, - from rpc/object_storage_test.h:3, - from rpc/object_storage_test.cc:3: -../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': -../src/rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] - 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../src/rpc/object_storage.h:46: -/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here - 49 | class LIBTORRENT_EXPORT Object { - | ^~~~~~ -In file included from ../src/rpc/command.h:240, from ../src/rpc/command_map.h:45, from rpc/command_slot_test.cc:5: ../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': @@ -7535,6 +7594,18 @@ 1389 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ In file included from ../src/rpc/command.h:240, + from ../src/rpc/object_storage.h:49, + from rpc/object_storage_test.h:3, + from rpc/object_storage_test.cc:3: +../src/rpc/command_impl.h: In static member function 'static void rpc::command_base::pop_stack(stack_type*, torrent::Object*)': +../src/rpc/command_impl.h:105:16: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class torrent::Object' with no trivial copy-assignment [-Wclass-memaccess] + 105 | std::memset(last_stack, 0xAA, sizeof(torrent::Object)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../src/rpc/object_storage.h:46: +/usr/include/torrent/object.h:49:25: note: 'class torrent::Object' declared here + 49 | class LIBTORRENT_EXPORT Object { + | ^~~~~~ +In file included from ../src/rpc/command.h:240, from ../src/rpc/command_map.h:45, from ../src/rpc/parse_commands.h:43, from src/command_dynamic_test.cc:7: @@ -7585,7 +7656,7 @@ /usr/include/c++/13/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/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -lcppunit -ldl -Wl,-z,relro -o rtorrentTest rpc/rtorrentTest-command_test.o rpc/rtorrentTest-command_map_test.o rpc/rtorrentTest-command_slot_test.o rpc/rtorrentTest-object_storage_test.o src/rtorrentTest-command_dynamic_test.o rtorrentTest-main.o ../src/libsub_root.a ../src/ui/libsub_ui.a ../src/core/libsub_core.a ../src/display/libsub_display.a ../src/input/libsub_input.a ../src/rpc/libsub_rpc.a ../src/utils/libsub_utils.a -lncursesw -ltinfo -lcppunit -lcurl -ltorrent -L/usr/lib/x86_64-linux-gnu -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -lcppunit -ldl -Wl,-z,relro -o rtorrentTest rpc/rtorrentTest-command_test.o rpc/rtorrentTest-command_map_test.o rpc/rtorrentTest-command_slot_test.o rpc/rtorrentTest-object_storage_test.o src/rtorrentTest-command_dynamic_test.o rtorrentTest-main.o ../src/libsub_root.a ../src/ui/libsub_ui.a ../src/core/libsub_core.a ../src/display/libsub_display.a ../src/input/libsub_input.a ../src/rpc/libsub_rpc.a ../src/utils/libsub_utils.a -lncursesw -ltinfo -lcppunit -lcurl -ltorrent -L/usr/lib/x86_64-linux-gnu -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util libtool: link: g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -I/usr/include/x86_64-linux-gnu -Wl,-z -Wl,relro -o rtorrentTest rpc/rtorrentTest-command_test.o rpc/rtorrentTest-command_map_test.o rpc/rtorrentTest-command_slot_test.o rpc/rtorrentTest-object_storage_test.o src/rtorrentTest-command_dynamic_test.o rtorrentTest-main.o -ldl ../src/libsub_root.a ../src/ui/libsub_ui.a ../src/core/libsub_core.a ../src/display/libsub_display.a ../src/input/libsub_input.a ../src/rpc/libsub_rpc.a ../src/utils/libsub_utils.a -lncursesw -ltinfo -lcppunit -lcurl -ltorrent -L/usr/lib/x86_64-linux-gnu -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util make[3]: Leaving directory '/build/reproducible-path/rtorrent-0.9.8/test' make check-TESTS @@ -7668,7 +7739,7 @@ make[3]: Entering directory '/build/reproducible-path/rtorrent-0.9.8/src' make[4]: Entering directory '/build/reproducible-path/rtorrent-0.9.8/src' /usr/bin/mkdir -p '/build/reproducible-path/rtorrent-0.9.8/debian/rtorrent/usr/bin' - /bin/bash ../libtool --mode=install /usr/bin/install -c rtorrent '/build/reproducible-path/rtorrent-0.9.8/debian/rtorrent/usr/bin' + /bin/sh ../libtool --mode=install /usr/bin/install -c rtorrent '/build/reproducible-path/rtorrent-0.9.8/debian/rtorrent/usr/bin' libtool: install: /usr/bin/install -c rtorrent /build/reproducible-path/rtorrent-0.9.8/debian/rtorrent/usr/bin/rtorrent make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/reproducible-path/rtorrent-0.9.8/src' @@ -7714,12 +7785,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/115633/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/115633/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/1735894 and its subdirectories -I: Current time: Tue Apr 30 23:09:51 -12 2024 -I: pbuilder-time-stamp: 1714561791 +I: removing directory /srv/workspace/pbuilder/115633 and its subdirectories +I: Current time: Wed Jun 4 07:34:42 +14 2025 +I: pbuilder-time-stamp: 1748972082