<86>Dec 21 09:04:37 userdel[2025122]: delete user 'rooter' <86>Dec 21 09:04:37 userdel[2025122]: removed group 'rooter' owned by 'rooter' <86>Dec 21 09:04:37 userdel[2025122]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 21 09:04:37 groupadd[2025135]: group added to /etc/group: name=rooter, GID=1829 <86>Dec 21 09:04:37 groupadd[2025135]: group added to /etc/gshadow: name=rooter <86>Dec 21 09:04:37 groupadd[2025135]: new group: name=rooter, GID=1829 <86>Dec 21 09:04:37 useradd[2025146]: new user: name=rooter, UID=1829, GID=1829, home=/root, shell=/bin/bash, from=none <86>Dec 21 09:04:37 userdel[2025169]: delete user 'builder' <86>Dec 21 09:04:37 userdel[2025169]: removed group 'builder' owned by 'builder' <86>Dec 21 09:04:37 userdel[2025169]: removed shadow group 'builder' owned by 'builder' <86>Dec 21 09:04:37 groupadd[2025192]: group added to /etc/group: name=builder, GID=1830 <86>Dec 21 09:04:37 groupadd[2025192]: group added to /etc/gshadow: name=builder <86>Dec 21 09:04:37 groupadd[2025192]: new group: name=builder, GID=1830 <86>Dec 21 09:04:37 useradd[2025210]: new user: name=builder, UID=1830, GID=1830, home=/usr/src, shell=/bin/bash, from=none <13>Dec 21 09:04:41 rpmi: libsigc++2-2.12.1-alt1 sisyphus+331046.200.2.1 1696511642 installed <13>Dec 21 09:04:41 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Dec 21 09:04:41 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed <13>Dec 21 09:04:42 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed <13>Dec 21 09:04:42 rpmi: cppunit-1.15.1-alt1 sisyphus+346115.200.2.1 1716284188 installed <13>Dec 21 09:04:42 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Dec 21 09:04:42 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Dec 21 09:04:42 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 21 09:04:42 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 21 09:04:42 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 21 09:04:42 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 21 09:04:42 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Dec 21 09:04:42 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Dec 21 09:04:42 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Dec 21 09:04:42 rpmi: libssl-devel-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Dec 21 09:04:42 rpmi: cppunit-devel-1.15.1-alt1 sisyphus+346115.200.2.1 1716284188 installed <13>Dec 21 09:04:42 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139881 installed <13>Dec 21 09:04:42 rpmi: libsigc++2-devel-2.12.1-alt1 sisyphus+331046.200.2.1 1696511642 installed <13>Dec 21 09:04:42 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libtorrent-0.14.0-alt1.nosrc.rpm (w1.gzdio) Installing libtorrent-0.14.0-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.25839 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libtorrent-0.14.0 + echo 'Source #0 (libtorrent-0.14.0.tar):' Source #0 (libtorrent-0.14.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libtorrent-0.14.0.tar + cd libtorrent-0.14.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (libtorrent-alt-skip-tests.patch):' Patch #0 (libtorrent-alt-skip-tests.patch): + /usr/bin/patch -p1 patching file test/Makefile.am + mv -f COPYING COPYING.orig ++ relative /usr/share/license/GPL-2 /usr/share/doc/libtorrent/COPYING + ln -s ../../license/GPL-2 COPYING + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.25839 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libtorrent-0.14.0 + autoreconf -fisv autoreconf-default: export WARNINGS= autoreconf-default: Entering directory '.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force -I scripts autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in '.'. libtoolize-default: linking file './config.guess' libtoolize-default: linking file './config.sub' libtoolize-default: linking file './install-sh' libtoolize-default: linking file './ltmain.sh' libtoolize-default: putting macros in AC_CONFIG_MACRO_DIRS, 'scripts'. libtoolize-default: linking file 'scripts/libtool.m4' libtoolize-default: linking file 'scripts/ltoptions.m4' libtoolize-default: linking file 'scripts/ltsugar.m4' libtoolize-default: linking file 'scripts/ltversion.m4' libtoolize-default: linking file 'scripts/lt~obsolete.m4' autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using Gtkdoc autoreconf-default: running: aclocal --force -I scripts autoreconf-default: running: /usr/bin/autoconf-2.71 --force autoreconf-default: running: /usr/bin/autoheader-2.71 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:7: installing './compile' configure.ac:5: installing './missing' src/Makefile.am: installing './depcomp' autoreconf-default: Leaving directory '.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_prog_cc_static_works=no + lt_cv_prog_cc_static_works=no + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to enable C11 features... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking dependency style of i586-alt-linux-gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i586-alt-linux-file... no checking for file... file checking for i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether the compiler supports GNU C++... yes checking whether i586-alt-linux-g++ accepts -g... yes checking for i586-alt-linux-g++ option to enable C++11 features... none needed checking dependency style of i586-alt-linux-g++... none checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking for ld used by i586-alt-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i586-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-g++ static flag -static works... no checking if i586-alt-linux-g++ supports -c -o file.o... yes checking if i586-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking whether byte ordering is bigendian... no checking whether i586-alt-linux-g++ supports C++14 features with -std=c++14... yes checking for user-defined CFLAGS... user-defined "-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic" checking for user-defined CXXFLAGS... user-defined "-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic" checking the byte alignment... none needed checking for sysroot... no checking for kqueue support... no checking for epoll support... yes checking for fallocate... yes checking size of long... 4 checking for sys/vfs.h... yes checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for statvfs... ok checking for sys/inotify.h... yes checking for mcheck.h... yes checking whether sys/inotify.h actually works... yes checking if compiler supports __attribute__((visibility("default")))... yes checking for execinfo.h... yes checking size parameter type for backtrace()... int checking for library containing backtrace... none required checking if zlib is wanted... yes checking for inflateEnd in -lz... yes checking for zlib.h... yes checking how to run the C preprocessor... i586-alt-linux-gcc -E checking whether i586-alt-linux-gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for i586-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for cppunit... yes checking for libcrypto... yes checking for posix_memalign... yes checking for madvise... yes checking for cacheline... using default 128 bytes checking for __builtin_popcount... yes checking for pthread_setname_no... checking for pthread.h... yes checking for pthread_setname_np type... generic checking signedness of mincore parameter... unsigned checking if instrumentation should be included... yes checking if compiler supports __attribute__((unused))... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libtorrent.pc config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/torrent/Makefile config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext + make -j16 make all-recursive Making all in src Making all in torrent make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o error.lo error.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c error.cc -fPIC -DPIC -o .libs/error.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o object_static_map.lo object_static_map.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c object_static_map.cc -fPIC -DPIC -o .libs/object_static_map.o In file included from object_static_map.cc:39: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ../../rak/algorithm.h:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o event.lo event.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c event.cc -fPIC -DPIC -o .libs/event.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o poll_kqueue.lo poll_kqueue.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c poll_kqueue.cc -fPIC -DPIC -o .libs/poll_kqueue.o In file included from poll_kqueue.cc:54: utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from poll_kqueue.cc:50: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from /usr/include/c++/14/stdexcept:39, from poll_kqueue.cc:43: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o bitfield.lo bitfield.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c bitfield.cc -fPIC -DPIC -o .libs/bitfield.o In file included from bitfield.cc:41: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ../../rak/algorithm.h:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o hash_string.lo hash_string.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c hash_string.cc -fPIC -DPIC -o .libs/hash_string.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o path.lo path.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c path.cc -fPIC -DPIC -o .libs/path.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o exceptions.lo exceptions.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c exceptions.cc -fPIC -DPIC -o .libs/exceptions.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o http.lo http.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c http.cc -fPIC -DPIC -o .libs/http.o In file included from http.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from http.cc:39: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk_manager.lo chunk_manager.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c chunk_manager.cc -fPIC -DPIC -o .libs/chunk_manager.o In file included from ./../data/chunk_list.h:44, from chunk_manager.cc:43: ./../data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': ./../data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ./../data/chunk_list.h:40: /usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ ./../data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./../globals.h:5, from chunk_manager.cc:48: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' chunk_manager.cc: In destructor 'torrent::ChunkManager::~ChunkManager()': chunk_manager.cc:78:5: warning: 'throw' will always call 'terminate' [-Wterminate] 78 | throw internal_error("ChunkManager::~ChunkManager() m_memoryUsage != 0 || m_memoryBlockCount != 0."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chunk_manager.cc:78:5: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o poll_epoll.lo poll_epoll.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c poll_epoll.cc -fPIC -DPIC -o .libs/poll_epoll.o In file included from poll_epoll.cc:51: utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o connection_manager.lo connection_manager.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c connection_manager.cc -fPIC -DPIC -o .libs/connection_manager.o In file included from ./../thread_disk.h:5, from ./../manager.h:8, from connection_manager.cc:49: ./../torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./../manager.h:6: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/string:49, from /usr/include/c++/14/stdexcept:39, from ../../rak/socket_address.h:53, from ../../rak/address_info.h:47, from connection_manager.cc:41: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_manager.lo dht_manager.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c dht_manager.cc -fPIC -DPIC -o .libs/dht_manager.o In file included from ./../thread_disk.h:5, from ./../manager.h:8, from dht_manager.cc:43: ./../torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./../manager.h:6: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../dht/dht_tracker.h:45, from ./../dht/dht_hash_map.h:45, from ./../dht/dht_router.h:48, from dht_manager.cc:44: ./../net/address_list.h: At global scope: ./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from ./../torrent/exceptions.h:47, from dht_manager.cc:39: /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ./../dht/dht_hash_map.h:61:42: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 61 | struct hashstring_ptr_hash : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ./../dht/dht_hash_map.h:78:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 78 | struct hashstring_hash : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ./../dht/dht_hash_map.h:96:43: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 96 | struct hashstring_ptr_equal : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../dht/dht_server.h:50, from ./../dht/dht_router.h:49: ./../dht/dht_transaction.h:73:41: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 73 | struct dht_compare_closer : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o rate.lo rate.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c rate.cc -fPIC -DPIC -o .libs/rate.o In file included from ./../globals.h:5, from rate.cc:39: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/functional:49, from ../../rak/priority_queue_default.h:40: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o poll_select.lo poll_select.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c poll_select.cc -fPIC -DPIC -o .libs/poll_select.o In file included from poll_select.cc:55: utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ poll_select.cc: In destructor 'virtual torrent::PollSelect::~PollSelect()': poll_select.cc:163:5: warning: 'throw' will always call 'terminate' [-Wterminate] 163 | throw internal_error("PollSelect::~PollSelect() called but the sets are not empty"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ poll_select.cc:163:5: note: in C++11 destructors default to 'noexcept' poll_select.cc: In member function 'unsigned int torrent::PollSelect::perform(fd_set*, fd_set*, fd_set*)': poll_select.cc:211:66: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Event]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 211 | poll_check(this, exceptSet, std::mem_fun(&Event::event_error))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from /usr/include/c++/14/stdexcept:39, from poll_select.cc:41: /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ poll_select.cc:215:64: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Event]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 215 | poll_check(this, readSet, std::mem_fun(&Event::event_read))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ poll_select.cc:219:65: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Event]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 219 | poll_check(this, writeSet, std::mem_fun(&Event::event_write))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o throttle.lo throttle.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c throttle.cc -fPIC -DPIC -o .libs/throttle.o In file included from ./../net/throttle_internal.h:41, from throttle.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' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/bits/refwrap.h:39, from /usr/include/c++/14/vector:68, from ./../net/throttle_internal.h:40: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker.lo tracker.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c tracker.cc -fPIC -DPIC -o .libs/tracker.o In file included from ./../globals.h:5, from tracker.cc:42: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/string:49, from exceptions.h:47, from tracker.cc:41: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/block_list.lo data/block_list.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/block_list.cc -fPIC -DPIC -o data/.libs/block_list.o In file included from data/block_list.cc:42: data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' data/block_list.cc: In member function 'void torrent::BlockList::do_all_failed()': data/block_list.cc:87:49: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 87 | std::for_each(begin(), end(), std::mem_fun_ref(&Block::failed_leader)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from data/block_list.cc:40: /usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ data/block_list.cc:88:49: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 88 | std::for_each(begin(), end(), std::mem_fun_ref(&Block::retry_transfer)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/download_data.lo data/download_data.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/download_data.cc -fPIC -DPIC -o data/.libs/download_data.o In file included from ./../torrent/utils/ranges.h:43, from data/download_data.h:9, from data/download_data.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from ./../torrent/exceptions.h:47, from data/download_data.cc:39: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/file_list_iterator.lo data/file_list_iterator.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/file_list_iterator.cc -fPIC -DPIC -o data/.libs/file_list_iterator.o In file included from ./../torrent/utils/ranges.h:43, from ./../torrent/data/download_data.h:9, from ./../torrent/data/file_list.h:46, from data/file_list_iterator.h:42, from data/file_list_iterator.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from ./../torrent/exceptions.h:47, from data/file_list_iterator.cc:39: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o download.lo download.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c download.cc -fPIC -DPIC -o .libs/download.o In file included from ./../thread_disk.h:5, from ./../manager.h:8, from ./../protocol/peer_connection_base.h:54, from download.cc:50: ./../torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from data/block.h:42, from download.cc:41: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./../data/chunk_list.h:44, from download.cc:43: ./../data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': ./../data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/refwrap.h:39, from /usr/include/c++/14/vector:68, from data/block.h:40: /usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ ./../data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./../data/hash_torrent.h:43, from download.cc:45: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../download/chunk_selector.h:41, from download.cc:47: ../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/vector:62: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/file.lo data/file.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/file.cc -fPIC -DPIC -o data/.libs/file.o In file included from ./../thread_disk.h:5, from ./../manager.h:8, from data/file.cc:49: ./../torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./../globals.h:5, from data/file.cc:48: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' data/file.cc: In destructor 'torrent::File::~File()': data/file.cc:80:5: warning: 'throw' will always call 'terminate' [-Wterminate] 80 | throw internal_error("File::~File() called on an open file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/file.cc:80:5: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/string:49, from ../../rak/file_stat.h:40, from data/file.cc:40: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker_controller.lo tracker_controller.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c tracker_controller.cc -fPIC -DPIC -o .libs/tracker_controller.o In file included from tracker_controller.cc:45: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/string:49, from exceptions.h:47, from tracker_controller.cc:39: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o object.lo object.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c object.cc -fPIC -DPIC -o .libs/object.o In file included from object.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ../../rak/functional.h:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/file_utils.lo data/file_utils.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/file_utils.cc -fPIC -DPIC -o data/.libs/file_utils.o In file included from ./../torrent/utils/ranges.h:43, from ./../torrent/data/download_data.h:9, from ./../torrent/data/file_list.h:46, from data/file_utils.h:41, from data/file_utils.cc:43: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from ./exceptions.h:47, from data/file_utils.cc:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/file_manager.lo data/file_manager.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/file_manager.cc -fPIC -DPIC -o data/.libs/file_manager.o In file included from ./../thread_disk.h:5, from ./../manager.h:8, from data/file_manager.cc:46: ./../torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./../manager.h:6: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' data/file_manager.cc: In destructor 'torrent::FileManager::~FileManager()': data/file_manager.cc:58:5: warning: 'throw' will always call 'terminate' [-Wterminate] 58 | throw internal_error("FileManager::~FileManager() called but empty() != true."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/file_manager.cc:58:5: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/string:49, from ./../data/socket_file.h:40, from data/file_manager.cc:41: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/chunk_utils.lo data/chunk_utils.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/chunk_utils.cc -fPIC -DPIC -o data/.libs/chunk_utils.o In file included from ./../thread_disk.h:5, from ./../manager.h:8, from data/chunk_utils.cc:43: ./../torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./../manager.h:6: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../download/download_main.h:5, from ./../download/download_wrapper.h:41, from data/chunk_utils.cc:46: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/refwrap.h:39, from /usr/include/c++/14/vector:68, from data/chunk_utils.h:40, from data/chunk_utils.cc:39: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../download/available_list.h:45, from ./../download/download_main.h:12: ./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./../download/download_main.h:16: ./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from data/chunk_utils.cc:49: ./../data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': ./../data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ ./../data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o object_stream.lo object_stream.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c object_stream.cc -fPIC -DPIC -o .libs/object_stream.o In file included from object_stream.cc:44: ../../rak/algorithm.h:118:35: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 118 | struct compare_base : public std::binary_function<_Value, _Value, bool> { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/streambuf:43, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from object_stream.cc:39: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_address_key.lo net/socket_address_key.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_address_key.cc -fPIC -DPIC -o net/.libs/socket_address_key.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/client_info.lo peer/client_info.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c peer/client_info.cc -fPIC -DPIC -o peer/.libs/client_info.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o net/address_info.lo net/address_info.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c net/address_info.cc -fPIC -DPIC -o net/.libs/address_info.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent.lo torrent.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c torrent.cc -fPIC -DPIC -o .libs/torrent.o In file included from ./../thread_disk.h:5, from ./../manager.h:8, from torrent.cc:14: ./../torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./../manager.h:6: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../protocol/handshake_manager.h:7, from torrent.cc:16: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from /usr/include/c++/14/stdexcept:39, from ../../rak/socket_address.h:53, from ../../rak/address_info.h:47, from torrent.cc:3: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ torrent.cc: In function 'void torrent::initialize()': torrent.cc:67:17: warning: 'new' of type 'torrent::Manager' with extended alignment 128 [-Waligned-new=] 67 | manager = new Manager; | ^~~~~~~ torrent.cc:67:17: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter torrent.cc:67:17: note: use '-faligned-new' to enable C++17 over-aligned new support In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker_list.lo tracker_list.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c tracker_list.cc -fPIC -DPIC -o .libs/tracker_list.o In file included from tracker_list.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from tracker_list.cc:39: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from tracker_list.cc:42: ./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./../globals.h:5, from ./../tracker/tracker_udp.h:48, from tracker_list.cc:48: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' tracker_list.cc: In member function 'bool torrent::TrackerList::has_active() const': tracker_list.cc:70:51: 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] 70 | return std::find_if(begin(), end(), std::mem_fun(&Tracker::is_busy)) != end(); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ tracker_list.cc: In member function 'bool torrent::TrackerList::has_active_not_scrape() const': tracker_list.cc:75:51: 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] 75 | return std::find_if(begin(), end(), std::mem_fun(&Tracker::is_busy_not_scrape)) != end(); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ tracker_list.cc: In member function 'bool torrent::TrackerList::has_active_in_group(uint32_t) const': tracker_list.cc:80:73: 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] 80 | return std::find_if(begin_group(group), end_group(group), std::mem_fun(&Tracker::is_busy)) != end_group(group); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ tracker_list.cc: In member function 'bool torrent::TrackerList::has_active_not_scrape_in_group(uint32_t) const': tracker_list.cc:85:73: 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] 85 | return std::find_if(begin_group(group), end_group(group), std::mem_fun(&Tracker::is_busy_not_scrape)) != end_group(group); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ tracker_list.cc: At global scope: tracker_list.cc:89:39: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 89 | struct tracker_usable_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ tracker_list.cc: In member function 'unsigned int torrent::TrackerList::count_active() const': tracker_list.cc:100:52: 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] 100 | return std::count_if(begin(), end(), std::mem_fun(&Tracker::is_busy)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ tracker_list.cc: In member function 'void torrent::TrackerList::clear_stats()': tracker_list.cc:134:45: 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] 134 | std::for_each(begin(), end(), std::mem_fun(&Tracker::clear_stats)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ tracker_list.cc: In member function 'std::vector::iterator torrent::TrackerList::find_next_to_request(std::vector::iterator)': tracker_list.cc:243:80: 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] 243 | TrackerList::iterator preferred = itr = std::find_if(itr, end(), std::mem_fun(&Tracker::can_request_state)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ tracker_list.cc: In member function 'std::vector::iterator torrent::TrackerList::begin_group(unsigned int)': tracker_list.cc:269:74: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 269 | return std::find_if(begin(), end(), rak::less_equal(group, std::mem_fun(&Tracker::group))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ tracker_list.cc: In member function 'std::vector::const_iterator torrent::TrackerList::begin_group(unsigned int) const': tracker_list.cc:274:74: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 274 | return std::find_if(begin(), end(), rak::less_equal(group, std::mem_fun(&Tracker::group))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ tracker_list.cc: In member function 'void torrent::TrackerList::randomize_group_entries()': tracker_list.cc:314:24: warning: 'void std::random_shuffle(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' is deprecated: use 'std::shuffle' instead [-Wdeprecated-declarations] 314 | std::random_shuffle(itr, tmp); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from /usr/include/c++/14/algorithm:61, from ./../torrent/object_raw_bencode.h:40, from ./../torrent/object.h:46, from ./../net/address_list.h:44: /usr/include/c++/14/bits/stl_algo.h:4491:5: note: declared here 4491 | random_shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last) | ^~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o download/choke_group.lo download/choke_group.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c download/choke_group.cc -fPIC -DPIC -o download/.libs/choke_group.o In file included from ./../download/download_main.h:5, from download/choke_group.cc:49: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from download/choke_group.cc:40: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:5, from ./../download/download_main.h:7: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../download/available_list.h:45, from ./../download/download_main.h:12: ./../net/address_list.h: At global scope: ./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./../download/download_main.h:16: ./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/block.lo data/block.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/block.cc -fPIC -DPIC -o data/.libs/block.o In file included from ./../thread_disk.h:5, from ./../manager.h:8, from ./../protocol/peer_connection_base.h:54, from data/block.cc:44: ./../torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from data/block.cc:41: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from data/block.cc:40: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../protocol/peer_chunks.h:41, from ./../protocol/peer_connection_base.h:48: ../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60, from data/block.cc:39: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ In file included from ./../protocol/request_list.h:43, from ./../protocol/peer_connection_base.h:50: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./../globals.h:5, from ./../protocol/request_list.h:47: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' data/block.cc: In destructor 'torrent::Block::~Block()': data/block.cc:56:5: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw internal_error("Block dtor with 'm_state != STATE_INCOMPLETE && m_state != STATE_COMPLETED'"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/block.cc:56:5: note: in C++11 destructors default to 'noexcept' data/block.cc:60:7: warning: 'throw' will always call 'terminate' [-Wterminate] 60 | throw internal_error("Block dtor with 'm_state == STATE_COMPLETED && m_leader == NULL'"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/block.cc:60:7: note: in C++11 destructors default to 'noexcept' data/block.cc:75:5: warning: 'throw' will always call 'terminate' [-Wterminate] 75 | throw internal_error("Block::clear() m_stalled != 0."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/block.cc:75:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_event.lo net/socket_event.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_event.cc -fPIC -DPIC -o net/.libs/socket_event.o net/socket_event.cc: In destructor 'virtual torrent::socket_event::~socket_event()': net/socket_event.cc:11:5: warning: 'throw' will always call 'terminate' [-Wterminate] 11 | throw internal_error("Called socket_event::~socket_event while still open on type " + std::string(type_name())); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net/socket_event.cc:11:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o net/utils.lo net/utils.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c net/utils.cc -fPIC -DPIC -o net/.libs/utils.o net/utils.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import | ^~~~~~ In file included from net/utils.cc:1: ./../torrent/net/utils.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import | ^~~~~~ ./../torrent/net/utils.h:2:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 2 | #import | ^~~~~~ net/utils.cc:3:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 3 | #import | ^~~~~~ net/utils.cc:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ net/utils.cc:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ net/utils.cc:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ net/utils.cc:7:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 7 | #import | ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/transfer_list.lo data/transfer_list.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/transfer_list.cc -fPIC -DPIC -o data/.libs/transfer_list.o In file included from data/transfer_list.cc:42: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from data/transfer_list.cc:40: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from data/transfer_list.cc:45: ./../data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': ./../data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ ./../data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from data/transfer_list.cc:48: data/block_failed.h: In destructor 'torrent::BlockFailed::~BlockFailed()': data/block_failed.h:96:45: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = pair; _Result = void]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 96 | std::for_each(begin(), end(), std::ptr_fun(&BlockFailed::delete_entry)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1123:5: note: declared here 1123 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ data/block_failed.h: In member function 'std::vector >::iterator torrent::BlockFailed::max_element()': data/block_failed.h:101:55: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = pair; _Arg2 = pair; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 101 | return std::max_element(begin(), end(), std::ptr_fun(&BlockFailed::compare_entries)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1150:5: note: declared here 1150 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ data/block_failed.h: In member function 'std::vector >::reverse_iterator torrent::BlockFailed::reverse_max_element()': data/block_failed.h:106:57: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = pair; _Arg2 = pair; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 106 | return std::max_element(rbegin(), rend(), std::ptr_fun(&BlockFailed::compare_entries)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1150:5: note: declared here 1150 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from data/transfer_list.cc:49: data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' data/transfer_list.cc: In destructor 'torrent::TransferList::~TransferList()': data/transfer_list.cc:66:5: warning: 'throw' will always call 'terminate' [-Wterminate] 66 | throw internal_error("TransferList::~TransferList() called on an non-empty object"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data/transfer_list.cc:66:5: note: in C++11 destructors default to 'noexcept' data/transfer_list.cc: In member function 'std::vector::iterator torrent::TransferList::find(uint32_t)': data/transfer_list.cc:71:69: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::BlockList]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 71 | return std::find_if(begin(), end(), rak::equal(index, std::mem_fun(&BlockList::index))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ data/transfer_list.cc: In member function 'std::vector::const_iterator torrent::TransferList::find(uint32_t) const': data/transfer_list.cc:76:69: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::BlockList]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 76 | return std::find_if(begin(), end(), rak::equal(index, std::mem_fun(&BlockList::index))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ data/transfer_list.cc: In member function 'void torrent::TransferList::hash_succeeded(uint32_t, torrent::Chunk*)': data/transfer_list.cc:128:55: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 128 | std::mem_fun_ref(&Block::is_finished)) != (*blockListItr)->size()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ data/transfer_list.cc: In member function 'void torrent::TransferList::hash_failed(uint32_t, torrent::Chunk*)': data/transfer_list.cc:177:105: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Block]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 177 | if ((Block::size_type)std::count_if((*blockListItr)->begin(), (*blockListItr)->end(), std::mem_fun_ref(&Block::is_finished)) != (*blockListItr)->size()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o net/fd.lo net/fd.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c net/fd.cc -fPIC -DPIC -o net/.libs/fd.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o download/download_manager.lo download/download_manager.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c download/download_manager.cc -fPIC -DPIC -o download/.libs/download_manager.o In file included from download/download_manager.cc:39: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ../../rak/functional.h:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:5, from ./../download/download_main.h:7, from ./../download/download_wrapper.h:41, from download/download_manager.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' In file included from ./../download/available_list.h:45, from ./../download/download_main.h:12: ./../net/address_list.h: At global scope: ./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./../download/download_main.h:16: ./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ download/download_manager.cc: In member function 'torrent::DownloadManager::iterator torrent::DownloadManager::find(const std::string&)': download/download_manager.cc:78:70: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = torrent::DownloadInfo*; _Tp = torrent::DownloadWrapper]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 78 | rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ download/download_manager.cc:78:108: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const torrent::HashString&; _Tp = torrent::DownloadInfo]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 78 | rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ download/download_manager.cc: In member function 'torrent::DownloadManager::iterator torrent::DownloadManager::find(const torrent::HashString&)': download/download_manager.cc:83:76: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = torrent::DownloadInfo*; _Tp = torrent::DownloadWrapper]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 83 | return std::find_if(begin(), end(), rak::equal(hash, rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ download/download_manager.cc:83:114: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const torrent::HashString&; _Tp = torrent::DownloadInfo]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 83 | return std::find_if(begin(), end(), rak::equal(hash, rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ download/download_manager.cc: In member function 'torrent::DownloadManager::iterator torrent::DownloadManager::find(torrent::DownloadInfo*)': download/download_manager.cc:88:68: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = torrent::DownloadInfo*; _Tp = torrent::DownloadWrapper]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), rak::equal(info, std::mem_fun(&DownloadWrapper::info))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ download/download_manager.cc: In member function 'torrent::DownloadManager::iterator torrent::DownloadManager::find_chunk_list(torrent::ChunkList*)': download/download_manager.cc:93:66: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = torrent::ChunkList*; _Tp = torrent::DownloadWrapper]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 93 | return std::find_if(begin(), end(), rak::equal(cl, std::mem_fun(&DownloadWrapper::chunk_list))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ download/download_manager.cc: In member function 'torrent::DownloadMain* torrent::DownloadManager::find_main(const char*)': download/download_manager.cc:99:78: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = torrent::DownloadInfo*; _Tp = torrent::DownloadWrapper]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 99 | rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ download/download_manager.cc:99:116: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const torrent::HashString&; _Tp = torrent::DownloadInfo]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 99 | rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ download/download_manager.cc: In member function 'torrent::DownloadMain* torrent::DownloadManager::find_main_obfuscated(const char*)': download/download_manager.cc:110:78: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = torrent::DownloadInfo*; _Tp = torrent::DownloadWrapper]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 110 | rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash_obfuscated)))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ download/download_manager.cc:110:116: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = const torrent::HashString&; _Tp = torrent::DownloadInfo]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 110 | rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash_obfuscated)))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_address.lo net/socket_address.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_address.cc -fPIC -DPIC -o net/.libs/socket_address.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/client_list.lo peer/client_list.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c peer/client_list.cc -fPIC -DPIC -o peer/.libs/client_list.o peer/client_list.cc: In member function 'std::vector::iterator torrent::ClientList::insert(torrent::ClientInfo::id_type, const char*, const char*, const char*)': peer/client_list.cc:134:17: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 2 equals destination size [-Wstringop-truncation] 134 | std::strncpy(clientInfo.mutable_key(), key, ClientInfo::max_key_size); | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/peer_info.lo peer/peer_info.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c peer/peer_info.cc -fPIC -DPIC -o peer/.libs/peer_info.o In file included from ./../thread_disk.h:5, from ./../manager.h:8, from ./../protocol/peer_connection_base.h:54, from peer/peer_info.cc:43: ./../torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./../protocol/extensions.h:48, from peer/peer_info.cc:42: ./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from /usr/include/c++/14/stdexcept:39, from ../../rak/socket_address.h:53, from peer/peer_info.cc:40: /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./../protocol/peer_chunks.h:41, from ./../protocol/peer_connection_base.h:48: ../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ In file included from ./../protocol/request_list.h:43, from ./../protocol/peer_connection_base.h:50: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./../globals.h:5, from ./../protocol/request_list.h:47: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' peer/peer_info.cc: In destructor 'torrent::PeerInfo::~PeerInfo()': peer/peer_info.cc:78:5: warning: 'throw' will always call 'terminate' [-Wterminate] 78 | throw internal_error("PeerInfo::~PeerInfo() peer is blocked."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ peer/peer_info.cc:78:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/signal_bitfield.lo utils/signal_bitfield.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c utils/signal_bitfield.cc -fPIC -DPIC -o utils/.libs/signal_bitfield.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/file_list.lo data/file_list.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/file_list.cc -fPIC -DPIC -o data/.libs/file_list.o In file included from ./../thread_disk.h:5, from ./../manager.h:8, from data/file_list.cc:61: ./../torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from data/file_list.cc:48: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from data/file_list.cc:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from data/file_list.cc:50: ./../data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': ./../data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ ./../data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from data/file_list.cc:59: data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./../manager.h:6: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' data/file_list.cc: In member function 'torrent::FileList::iterator_range torrent::FileList::split(std::vector::iterator, split_type*, split_type*)': data/file_list.cc:238:30: warning: 'new' of type 'torrent::File' with extended alignment 128 [-Waligned-new=] 238 | File* newFile = new File(); | ^ data/file_list.cc:238:30: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/file_list.cc:238:30: note: use '-faligned-new' to enable C++17 over-aligned new support data/file_list.cc: In member function 'std::vector::iterator torrent::FileList::merge(std::vector::iterator, std::vector::iterator, const torrent::Path&)': data/file_list.cc:261:23: warning: 'new' of type 'torrent::File' with extended alignment 128 [-Waligned-new=] 261 | File* newFile = new File; | ^~~~ data/file_list.cc:261:23: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/file_list.cc:261:23: note: use '-faligned-new' to enable C++17 over-aligned new support data/file_list.cc: In member function 'void torrent::FileList::initialize(uint64_t, uint32_t)': data/file_list.cc:384:28: warning: 'new' of type 'torrent::File' with extended alignment 128 [-Waligned-new=] 384 | File* newFile = new File(); | ^ data/file_list.cc:384:28: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/file_list.cc:384:28: note: use '-faligned-new' to enable C++17 over-aligned new support data/file_list.cc: In member function 'torrent::Chunk* torrent::FileList::create_chunk(uint64_t, uint32_t, int)': data/file_list.cc:605:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 605 | std::auto_ptr chunk(new Chunk); | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from data/file_list.cc:43: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ data/file_list.cc:605:34: warning: 'new' of type 'torrent::Chunk' with extended alignment 128 [-Waligned-new=] 605 | std::auto_ptr chunk(new Chunk); | ^~~~~ data/file_list.cc:605:34: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/file_list.cc:605:34: note: use '-faligned-new' to enable C++17 over-aligned new support data/file_list.cc:607:77: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 607 | for (iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun(&File::is_valid_position), offset)); length != 0; ++itr) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ data/file_list.cc:607:64: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 607 | for (iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun(&File::is_valid_position), offset)); length != 0; ++itr) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ data/file_list.cc: In member function 'std::vector::iterator torrent::FileList::inc_completed(std::vector::iterator, uint32_t)': data/file_list.cc:677:81: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::File]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 677 | firstItr = std::find_if(firstItr, end(), rak::less(index, std::mem_fun(&File::range_second))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ data/file_list.cc:678:85: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = unsigned int; _Tp = torrent::File]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 678 | iterator lastItr = std::find_if(firstItr, end(), rak::less(index + 1, std::mem_fun(&File::range_second))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ data/file_list.cc:686:29: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::File]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 686 | std::mem_fun(&File::inc_completed_protected)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/random.lo utils/random.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c utils/random.cc -fPIC -DPIC -o utils/.libs/random.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/peer.lo peer/peer.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c peer/peer.cc -fPIC -DPIC -o peer/.libs/peer.o In file included from ./../thread_disk.h:5, from ./../manager.h:8, from ./../protocol/peer_connection_base.h:54, from peer/peer.cc:43: ./../torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./data/block.h:42, from peer/peer.cc:39: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./../download/download_main.h:5, from peer/peer.cc:41: ../../rak/functional.h: At global scope: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/refwrap.h:39, from /usr/include/c++/14/vector:68, from ./data/block.h:40: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:5, from ./../download/download_main.h:7: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../download/available_list.h:45, from ./../download/download_main.h:12: ./../net/address_list.h: At global scope: ./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./../download/download_main.h:16: ./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./../protocol/peer_chunks.h:41, from peer/peer.cc:42: ../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/vector:62: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o download/choke_queue.lo download/choke_queue.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c download/choke_queue.cc -fPIC -DPIC -o download/.libs/choke_queue.o In file included from ./../thread_disk.h:5, from ./../manager.h:8, from ./../protocol/peer_connection_base.h:54, from download/choke_queue.cc:9: ./../torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from download/choke_queue.cc:7: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from download/choke_queue.cc:5: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../protocol/peer_chunks.h:41, from ./../protocol/peer_connection_base.h:48: ../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60, from download/choke_queue.cc:3: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ In file included from ./../protocol/request_list.h:43, from ./../protocol/peer_connection_base.h:50: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./../globals.h:5, from ./../protocol/request_list.h:47: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' download/choke_queue.cc: In destructor 'torrent::choke_queue::~choke_queue()': download/choke_queue.cc:43:5: warning: 'throw' will always call 'terminate' [-Wterminate] 43 | throw internal_error("choke_queue::~choke_queue() called but m_currentlyUnchoked != 0."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download/choke_queue.cc:43:5: note: in C++11 destructors default to 'noexcept' download/choke_queue.cc:46:5: warning: 'throw' will always call 'terminate' [-Wterminate] 46 | throw internal_error("choke_queue::~choke_queue() called but m_currentlyQueued != 0."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download/choke_queue.cc:46:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/directory_events.lo utils/directory_events.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c utils/directory_events.cc -fPIC -DPIC -o utils/.libs/directory_events.o In file included from ./../thread_disk.h:5, from ./../manager.h:8, from utils/directory_events.cc:53: ./../torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./../manager.h:6: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' utils/directory_events.cc: In member function 'virtual void torrent::directory_events::event_read()': utils/directory_events.cc:143:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 143 | if (result < sizeof(struct inotify_event)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/functional:49, from utils/directory_events.h:40, from utils/directory_events.cc:39: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/thread_base.lo utils/thread_base.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c utils/thread_base.cc -fPIC -DPIC -o utils/.libs/thread_base.o In file included from utils/thread_base.cc:9: utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ utils/thread_base.cc: In member function 'virtual void torrent::thread_base::start_thread()': utils/thread_base.cc:44:3: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 44 | if (this == nullptr) | ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/thread_interrupt.lo utils/thread_interrupt.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c utils/thread_interrupt.cc -fPIC -DPIC -o utils/.libs/thread_interrupt.o utils/thread_interrupt.cc: In static member function 'static torrent::thread_interrupt::pair_type torrent::thread_interrupt::create_pair()': utils/thread_interrupt.cc:87:50: warning: 'new' of type 'torrent::thread_interrupt' with extended alignment 128 [-Waligned-new=] 87 | thread_interrupt* t1 = new thread_interrupt(fd1); | ^ utils/thread_interrupt.cc:87:50: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter utils/thread_interrupt.cc:87:50: note: use '-faligned-new' to enable C++17 over-aligned new support utils/thread_interrupt.cc:88:50: warning: 'new' of type 'torrent::thread_interrupt' with extended alignment 128 [-Waligned-new=] 88 | thread_interrupt* t2 = new thread_interrupt(fd2); | ^ utils/thread_interrupt.cc:88:50: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter utils/thread_interrupt.cc:88:50: note: use '-faligned-new' to enable C++17 over-aligned new support make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/log_buffer.lo utils/log_buffer.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c utils/log_buffer.cc -fPIC -DPIC -o utils/.libs/log_buffer.o In file included from ./../globals.h:5, from utils/log_buffer.cc:6: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/string:49, from utils/log_buffer.h:4, from utils/log_buffer.cc:3: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/peer_list.lo peer/peer_list.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c peer/peer_list.cc -fPIC -DPIC -o peer/.libs/peer_list.o In file included from ./../thread_disk.h:5, from ./../manager.h:8, from peer/peer_list.cc:15: ./../torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from peer/peer_list.cc:5: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from peer/peer_list.cc:4: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../download/available_list.h:45, from peer/peer_list.cc:8: ./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./../globals.h:5, from peer/peer_list.cc:14: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' peer/peer_list.cc: At global scope: peer/peer_list.cc:54:43: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 54 | struct peer_list_equal_port : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ peer/peer_list.cc: In member function 'uint32_t torrent::PeerList::insert_available(const void*)': peer/peer_list.cc:167:75: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = const rak::socket_address&; _Arg2 = const rak::socket_address&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 167 | availItr = std::find_if(availItr, availLast, rak::bind2nd(std::ptr_fun(&socket_address_less_rak), *itr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1150:5: note: declared here 1150 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/connection_list.lo peer/connection_list.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c peer/connection_list.cc -fPIC -DPIC -o peer/.libs/connection_list.o In file included from ./../thread_disk.h:5, from ./../manager.h:8, from ./../protocol/peer_connection_base.h:54, from peer/connection_list.cc:45: ./../torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from peer/connection_list.cc:40: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ../../rak/functional.h:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:5, from ./../download/download_main.h:7, from peer/connection_list.cc:43: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../download/available_list.h:45, from ./../download/download_main.h:12: ./../net/address_list.h: At global scope: ./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./../download/download_main.h:16: ./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./../protocol/peer_chunks.h:41, from ./../protocol/peer_connection_base.h:48: ../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60, from peer/connection_list.cc:39: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ In file included from ./../protocol/request_list.h:43, from ./../protocol/peer_connection_base.h:50: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o download/resource_manager.lo download/resource_manager.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c download/resource_manager.cc -fPIC -DPIC -o download/.libs/resource_manager.o In file included from ./../thread_disk.h:5, from ./../manager.h:8, from ./../protocol/peer_connection_base.h:54, from download/resource_manager.cc:13: ./../torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./../torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from download/resource_manager.cc:7: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from download/resource_manager.cc:4: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./../globals.h:5, from ./../download/download_main.h:7, from download/resource_manager.cc:12: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./../download/available_list.h:45, from ./../download/download_main.h:12: ./../net/address_list.h: At global scope: ./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./../download/download_main.h:16: ./../torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./../torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./../protocol/peer_chunks.h:41, from ./../protocol/peer_connection_base.h:48: ../../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60, from download/resource_manager.cc:3: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ In file included from ./../protocol/request_list.h:43, from ./../protocol/peer_connection_base.h:50: ./../torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./../torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./../torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' download/resource_manager.cc: In destructor 'torrent::ResourceManager::~ResourceManager()': download/resource_manager.cc:38:5: warning: 'throw' will always call 'terminate' [-Wterminate] 38 | throw internal_error("ResourceManager::~ResourceManager() called but m_currentlyUploadUnchoked != 0."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download/resource_manager.cc:38:5: note: in C++11 destructors default to 'noexcept' download/resource_manager.cc:41:5: warning: 'throw' will always call 'terminate' [-Wterminate] 41 | throw internal_error("ResourceManager::~ResourceManager() called but m_currentlyDownloadUnchoked != 0."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download/resource_manager.cc:41:5: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/option_strings.lo utils/option_strings.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c utils/option_strings.cc -fPIC -DPIC -o utils/.libs/option_strings.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/uri_parser.lo utils/uri_parser.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c utils/uri_parser.cc -fPIC -DPIC -o utils/.libs/uri_parser.o utils/uri_parser.cc: In function 'void torrent::utils::uri_parse_str(std::string, uri_state&)': utils/uri_parser.cc:123:72: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = char; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 123 | first = uri_string_copy_until(first, last, state.scheme, std::ptr_fun(&is_not_unreserved_uri_char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from ./../torrent/utils/uri_parser.h:40, from utils/uri_parser.cc:39: /usr/include/c++/14/bits/stl_function.h:1123:5: note: declared here 1123 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ utils/uri_parser.cc:132:74: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = char; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 132 | first = uri_string_copy_until(first, last, state.resource, std::ptr_fun(&is_not_unreserved_uri_char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1123:5: note: declared here 1123 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ utils/uri_parser.cc:141:71: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = char; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 141 | first = uri_string_copy_until(first, last, state.query, std::ptr_fun(&is_not_valid_uri_query_char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1123:5: note: declared here 1123 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ utils/uri_parser.cc: In function 'void torrent::utils::uri_parse_query_str(std::string, uri_query_state&)': utils/uri_parser.cc:178:69: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = char; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 178 | first = uri_string_copy_until(first, last, element, std::ptr_fun(&is_not_unreserved_uri_query_char)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1123:5: note: declared here 1123 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/log.lo utils/log.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c utils/log.cc -fPIC -DPIC -o utils/.libs/log.o In file included from ./../globals.h:5, from utils/log.cc:5: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' utils/log.cc: In function 'void torrent::log_update_child_cache(int)': utils/log.cc:68:30: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = greater_equal >; _Tp = pair]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 68 | std::bind2nd(std::greater_equal >(), std::make_pair(index, 0))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/string:49, from /usr/include/c++/14/bitset:52, from utils/log.h:5, from utils/log.cc:3: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ utils/log.cc: In function 'void torrent::log_rebuild_cache()': utils/log.cc:92:71: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::log_group]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 92 | std::for_each(log_groups.begin(), log_groups.end(), std::mem_fun_ref(&log_group::clear_cached_outputs)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ utils/log.cc:98:69: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::log_cache_entry]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 98 | std::for_each(log_cache.begin(), log_cache.end(), std::mem_fun_ref(&log_cache_entry::clear)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ utils/log.cc: In function 'void torrent::log_cleanup()': utils/log.cc:236:69: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::log_cache_entry]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 236 | std::for_each(log_cache.begin(), log_cache.end(), std::mem_fun_ref(&log_cache_entry::clear)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/resume.lo utils/resume.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c utils/resume.cc -fPIC -DPIC -o utils/.libs/resume.o In file included from ./../torrent/utils/ranges.h:43, from ./../torrent/data/download_data.h:9, from ./data/file_list.h:46, from utils/resume.cc:47: ../../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from ../../rak/file_stat.h:40, from utils/resume.cc:39: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ./data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from utils/resume.cc:49: ./../net/address_list.h: At global scope: ./../net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./../globals.h:5, from utils/resume.cc:59: ../../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -std=c++14 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -L/usr/lib -L/usr/lib -o libtorrent_torrent.la data/block.lo data/block_list.lo data/chunk_utils.lo data/download_data.lo data/file.lo data/file_list.lo data/file_list_iterator.lo data/file_manager.lo data/file_utils.lo data/transfer_list.lo download/choke_group.lo download/choke_queue.lo download/download_manager.lo download/resource_manager.lo net/address_info.lo net/fd.lo net/socket_address.lo net/socket_address_key.lo net/socket_event.lo net/utils.lo peer/client_info.lo peer/client_list.lo peer/connection_list.lo peer/peer.lo peer/peer_info.lo peer/peer_list.lo utils/directory_events.lo utils/log.lo utils/log_buffer.lo utils/option_strings.lo utils/random.lo utils/resume.lo utils/signal_bitfield.lo utils/thread_base.lo utils/thread_interrupt.lo utils/uri_parser.lo bitfield.lo chunk_manager.lo connection_manager.lo dht_manager.lo download.lo error.lo event.lo exceptions.lo hash_string.lo http.lo object.lo object_static_map.lo object_stream.lo path.lo poll_epoll.lo poll_kqueue.lo poll_select.lo rate.lo throttle.lo torrent.lo tracker.lo tracker_controller.lo tracker_list.lo -lpthread -lcppunit -lz -lcrypto libtool: link: ar cr .libs/libtorrent_torrent.a data/.libs/block.o data/.libs/block_list.o data/.libs/chunk_utils.o data/.libs/download_data.o data/.libs/file.o data/.libs/file_list.o data/.libs/file_list_iterator.o data/.libs/file_manager.o data/.libs/file_utils.o data/.libs/transfer_list.o download/.libs/choke_group.o download/.libs/choke_queue.o download/.libs/download_manager.o download/.libs/resource_manager.o net/.libs/address_info.o net/.libs/fd.o net/.libs/socket_address.o net/.libs/socket_address_key.o net/.libs/socket_event.o net/.libs/utils.o peer/.libs/client_info.o peer/.libs/client_list.o peer/.libs/connection_list.o peer/.libs/peer.o peer/.libs/peer_info.o peer/.libs/peer_list.o utils/.libs/directory_events.o utils/.libs/log.o utils/.libs/log_buffer.o utils/.libs/option_strings.o utils/.libs/random.o utils/.libs/resume.o utils/.libs/signal_bitfield.o utils/.libs/thread_base.o utils/.libs/thread_interrupt.o utils/.libs/uri_parser.o .libs/bitfield.o .libs/chunk_manager.o .libs/connection_manager.o .libs/dht_manager.o .libs/download.o .libs/error.o .libs/event.o .libs/exceptions.o .libs/hash_string.o .libs/http.o .libs/object.o .libs/object_static_map.o .libs/object_stream.o .libs/path.o .libs/poll_epoll.o .libs/poll_kqueue.o .libs/poll_select.o .libs/rate.o .libs/throttle.o .libs/torrent.o .libs/tracker.o .libs/tracker_controller.o .libs/tracker_list.o libtool: link: ranlib .libs/libtorrent_torrent.a libtool: link: ( cd ".libs" && rm -f "libtorrent_torrent.la" && ln -s "../libtorrent_torrent.la" "libtorrent_torrent.la" ) make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/hash_queue_node.lo data/hash_queue_node.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/hash_queue_node.cc -fPIC -DPIC -o data/.libs/hash_queue_node.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/hash_chunk.lo data/hash_chunk.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/hash_chunk.cc -fPIC -DPIC -o data/.libs/hash_chunk.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o thread_disk.lo thread_disk.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c thread_disk.cc -fPIC -DPIC -o .libs/thread_disk.o In file included from thread_disk.h:5, from thread_disk.cc:41: torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o thread_main.lo thread_main.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c thread_main.cc -fPIC -DPIC -o .libs/thread_main.o In file included from thread_main.h:41, from thread_main.cc:41: torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from globals.h:5, from thread_main.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' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/bits/refwrap.h:39, from /usr/include/c++/14/deque:67, from data/hash_check_queue.h:40, from thread_main.h:40: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/socket_file.lo data/socket_file.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/socket_file.cc -fPIC -DPIC -o data/.libs/socket_file.o data/socket_file.cc:51:9: warning: "_GNU_SOURCE" redefined 51 | #define _GNU_SOURCE | ^~~~~~~~~~~ : note: this is the location of the previous definition make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o globals.lo globals.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c globals.cc -fPIC -DPIC -o .libs/globals.o In file included from thread_disk.h:5, from manager.h:8, from globals.cc:40: torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from globals.h:5, from globals.cc:39: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/functional:49, from ../rak/priority_queue_default.h:40: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/chunk_part.lo data/chunk_part.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/chunk_part.cc -fPIC -DPIC -o data/.libs/chunk_part.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/memory_chunk.lo data/memory_chunk.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/memory_chunk.cc -fPIC -DPIC -o data/.libs/memory_chunk.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_bucket.lo dht/dht_bucket.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c dht/dht_bucket.cc -fPIC -DPIC -o dht/.libs/dht_bucket.o In file included from ./globals.h:5, from dht/dht_bucket.h:42, from dht/dht_bucket.cc:41: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' dht/dht_bucket.cc: In member function 'void torrent::DhtBucket::remove_node(torrent::DhtNode*)': dht/dht_bucket.cc:78:59: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = torrent::DhtNode*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 78 | iterator itr = std::find_if(begin(), end(), std::bind2nd(std::equal_to(), n)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/string:49, from ./torrent/exceptions.h:47, from dht/dht_bucket.cc:39: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ dht/dht_bucket.cc: In member function 'void torrent::DhtBucket::count()': dht/dht_bucket.cc:94:54: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::DhtNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 94 | m_good = std::count_if(begin(), end(), std::mem_fun(&DhtNode::is_good)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ dht/dht_bucket.cc:95:53: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::DhtNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 95 | m_bad = std::count_if(begin(), end(), std::mem_fun(&DhtNode::is_bad)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ dht/dht_bucket.cc: In member function 'torrent::DhtBucket* torrent::DhtBucket::split(const torrent::HashString&)': dht/dht_bucket.cc:168:76: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = bool; _Tp = torrent::DhtNode; _Arg = const torrent::DhtBucket*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 168 | iterator split = std::partition(begin(), end(), std::bind2nd(std::mem_fun(&DhtNode::is_in_range), this)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ dht/dht_bucket.cc:168:63: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = torrent::DhtBucket*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 168 | iterator split = std::partition(begin(), end(), std::bind2nd(std::mem_fun(&DhtNode::is_in_range), this)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ dht/dht_bucket.cc:170:72: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = torrent::DhtBucket*; _Tp = torrent::DhtNode; _Arg = torrent::DhtBucket*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 170 | std::for_each(other->begin(), other->end(), std::bind2nd(std::mem_fun(&DhtNode::set_bucket), other)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ dht/dht_bucket.cc:170:59: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = torrent::DhtBucket*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 170 | std::for_each(other->begin(), other->end(), std::bind2nd(std::mem_fun(&DhtNode::set_bucket), other)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/chunk.lo data/chunk.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/chunk.cc -fPIC -DPIC -o data/.libs/chunk.o In file included from data/chunk.cc:47: data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from data/chunk.cc:41: /usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ data/chunk.cc: In member function 'bool torrent::Chunk::is_all_valid() const': data/chunk.cc:63:77: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::ChunkPart]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 63 | return !empty() && std::find_if(begin(), end(), std::not1(std::mem_fun_ref(&ChunkPart::is_valid))) == end(); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ data/chunk.cc: In member function 'void torrent::Chunk::clear()': data/chunk.cc:68:49: warning: 'std::mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ChunkPart]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 68 | std::for_each(begin(), end(), std::mem_fun_ref(&ChunkPart::clear)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1380:5: note: declared here 1380 | mem_fun_ref(_Ret (_Tp::*__f)()) | ^~~~~~~~~~~ data/chunk.cc: In member function 'std::vector::iterator torrent::Chunk::at_position(uint32_t)': data/chunk.cc:98:76: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 98 | iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::is_contained), pos)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ data/chunk.cc:98:59: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 98 | iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::is_contained), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_node.lo dht/dht_node.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c dht/dht_node.cc -fPIC -DPIC -o dht/.libs/dht_node.o In file included from ./globals.h:5, from dht/dht_node.cc:38: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from dht/dht_node.cc:44: ./net/address_list.h: At global scope: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ../rak/priority_queue_default.h:40: /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/hash_check_queue.lo data/hash_check_queue.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/hash_check_queue.cc -fPIC -DPIC -o data/.libs/hash_check_queue.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/hash_torrent.lo data/hash_torrent.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/hash_torrent.cc -fPIC -DPIC -o data/.libs/hash_torrent.o In file included from ./data/chunk_list.h:44, from data/hash_torrent.cc:39: ./data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': ./data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ./data/chunk_list.h:40: /usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ ./data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./torrent/utils/ranges.h:43, from ./torrent/data/download_data.h:9, from data/hash_torrent.cc:41: ../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 { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from data/hash_torrent.h:43, from data/hash_torrent.cc:44: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o download/chunk_statistics.lo download/chunk_statistics.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c download/chunk_statistics.cc -fPIC -DPIC -o download/.libs/chunk_statistics.o In file included from ./protocol/peer_chunks.h:41, from download/chunk_statistics.cc:41: ../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from ./torrent/exceptions.h:47, from download/chunk_statistics.cc:39: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/hash_queue.lo data/hash_queue.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/hash_queue.cc -fPIC -DPIC -o data/.libs/hash_queue.o In file included from data/hash_queue.cc:46: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from data/hash_queue.cc:40: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from data/hash_queue.cc:39: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:5, from data/hash_queue.cc:52: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' data/hash_queue.cc: In member function 'void torrent::HashQueue::push_back(torrent::ChunkHandle, torrent::HashQueueNode::id_type, slot_done_type)': data/hash_queue.cc:99:47: warning: 'new' of type 'torrent::HashChunk' with extended alignment 128 [-Waligned-new=] 99 | HashChunk* hash_chunk = new HashChunk(handle); | ^ data/hash_queue.cc:99:47: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/hash_queue.cc:99:47: note: use '-faligned-new' to enable C++17 over-aligned new support make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o download/chunk_selector.lo download/chunk_selector.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c download/chunk_selector.cc -fPIC -DPIC -o download/.libs/chunk_selector.o In file included from download/chunk_selector.cc:41: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ../rak/functional.h:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./protocol/peer_chunks.h:41, from download/chunk_selector.cc:43: ../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60, from download/chunk_selector.cc:39: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o download/delegator.lo download/delegator.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c download/delegator.cc -fPIC -DPIC -o download/.libs/delegator.o In file included from ./torrent/data/block.h:42, from download/delegator.cc:47: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./protocol/peer_chunks.h:41, from download/delegator.cc:50: ../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60, from download/delegator.cc:42: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_transaction.lo dht/dht_transaction.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c dht/dht_transaction.cc -fPIC -DPIC -o dht/.libs/dht_transaction.o In file included from ./tracker/tracker_dht.h:40, from dht/dht_transaction.cc:41: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from ./torrent/exceptions.h:47, from dht/dht_transaction.cc:39: /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./globals.h:5, from dht/dht_bucket.h:42, from dht/dht_transaction.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' In file included from dht/dht_transaction.cc:44: dht/dht_transaction.h: At global scope: dht/dht_transaction.h:73:41: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 73 | struct dht_compare_closer : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ dht/dht_transaction.cc: In destructor 'virtual torrent::DhtSearch::~DhtSearch()': dht/dht_transaction.cc:67:5: warning: 'throw' will always call 'terminate' [-Wterminate] 67 | throw internal_error("DhtSearch::~DhtSearch called with pending transactions."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dht/dht_transaction.cc:67:5: note: in C++11 destructors default to 'noexcept' dht/dht_transaction.cc:70:5: warning: 'throw' will always call 'terminate' [-Wterminate] 70 | throw internal_error("DhtSearch::~DhtSearch with invalid concurrency limit."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dht/dht_transaction.cc:70:5: note: in C++11 destructors default to 'noexcept' dht/dht_transaction.cc: In destructor 'virtual torrent::DhtAnnounce::~DhtAnnounce()': dht/dht_transaction.cc:212:5: warning: 'throw' will always call 'terminate' [-Wterminate] 212 | throw internal_error("DhtAnnounce::~DhtAnnounce called while announce not complete."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dht/dht_transaction.cc:212:5: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o data/chunk_list.lo data/chunk_list.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c data/chunk_list.cc -fPIC -DPIC -o data/.libs/chunk_list.o In file included from data/chunk_list.cc:40: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ../rak/functional.h:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from data/chunk_list.h:44, from data/chunk_list.cc:48: data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./globals.h:5, from data/chunk_list.cc:50: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' data/chunk_list.cc: In member function 'void torrent::ChunkList::clear()': data/chunk_list.cc:115:52: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = torrent::Chunk*; _Tp = torrent::ChunkListNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 115 | if (std::find_if(begin(), end(), std::mem_fun_ref(&ChunkListNode::chunk)) != end()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ data/chunk_list.cc:118:52: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = int; _Tp = torrent::ChunkListNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 118 | if (std::find_if(begin(), end(), std::mem_fun_ref(&ChunkListNode::references)) != end()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ data/chunk_list.cc:121:52: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = int; _Tp = torrent::ChunkListNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 121 | if (std::find_if(begin(), end(), std::mem_fun_ref(&ChunkListNode::writable)) != end()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ data/chunk_list.cc:124:52: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = int; _Tp = torrent::ChunkListNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 124 | if (std::find_if(begin(), end(), std::mem_fun_ref(&ChunkListNode::blocking)) != end()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ data/chunk_list.cc: In member function 'uint32_t torrent::ChunkList::sync_chunks(int)': data/chunk_list.cc:294:97: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = int; _Tp = torrent::ChunkListNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 294 | split = std::stable_partition(m_queue.begin(), m_queue.end(), rak::not_equal(1, std::mem_fun(&ChunkListNode::writable))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ data/chunk_list.cc:347:122: warning: 'std::const_mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::ChunkListNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 347 | instrumentation_update(INSTRUMENTATION_MINCORE_SYNC_NOT_DEALLOCATED, std::count_if(split, m_queue.end(), std::mem_fun(&ChunkListNode::is_valid))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1374:5: note: declared here 1374 | mem_fun(_Ret (_Tp::*__f)() const) | ^~~~~~~ data/chunk_list.cc: In member function 'std::vector::iterator torrent::ChunkList::partition_optimize(std::vector::iterator, std::vector::iterator, int, int, bool)': data/chunk_list.cc:418:71: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = bool; _Tp = torrent::ChunkList; _Arg = torrent::ChunkListNode*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 418 | bool required = std::find_if(itr, range, std::bind1st(std::mem_fun(&ChunkList::check_node), this)) != range; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ data/chunk_list.cc:418:58: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = torrent::ChunkList*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 418 | bool required = std::find_if(itr, range, std::bind1st(std::mem_fun(&ChunkList::check_node), this)) != range; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_tracker.lo dht/dht_tracker.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c dht/dht_tracker.cc -fPIC -DPIC -o dht/.libs/dht_tracker.o In file included from ./globals.h:5, from dht/dht_tracker.h:40, from dht/dht_tracker.cc:41: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from dht/dht_tracker.h:45: ./net/address_list.h: At global scope: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tree.h:65, from /usr/include/c++/14/map:62, from ./torrent/object.h:41, from dht/dht_tracker.cc:39: /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ dht/dht_tracker.cc: In member function 'void torrent::DhtTracker::prune(uint32_t)': dht/dht_tracker.cc:111:80: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::DhtTracker::BencodeAddress]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 111 | m_peers.erase(std::remove_if(m_peers.begin(), m_peers.end(), std::mem_fun_ref(&BencodeAddress::empty)), m_peers.end()); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ dht/dht_tracker.cc:112:85: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = less; _Tp = unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 112 | m_lastSeen.erase(std::remove_if(m_lastSeen.begin(), m_lastSeen.end(), std::bind2nd(std::less(), minSeen)), m_lastSeen.end()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o download/available_list.lo download/available_list.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c download/available_list.cc -fPIC -DPIC -o download/.libs/available_list.o In file included from download/available_list.h:45, from download/available_list.cc:44: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/streambuf:43, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from download/available_list.cc:41: /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_datagram.lo net/socket_datagram.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_datagram.cc -fPIC -DPIC -o net/.libs/socket_datagram.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o manager.lo manager.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c manager.cc -fPIC -DPIC -o .libs/manager.o In file included from thread_disk.h:5, from manager.h:8, from manager.cc:25: torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from download/download_main.h:5, from download/download_wrapper.h:41, from manager.cc:5: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from torrent/exceptions.h:47, from manager.cc:3: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:5, from download/download_main.h:7: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./download/available_list.h:45, from download/download_main.h:12: ./net/address_list.h: At global scope: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from download/download_main.h:16: ./torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from data/chunk_list.h:44, from manager.cc:8: data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ manager.cc: In constructor 'torrent::Manager::Manager()': manager.cc:47:50: warning: 'new' of type 'torrent::HashQueue' with extended alignment 128 [-Waligned-new=] 47 | m_hashQueue = new HashQueue(&m_main_thread_disk); | ^ manager.cc:47:50: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter manager.cc:47:50: note: use '-faligned-new' to enable C++17 over-aligned new support In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o net/listen.lo net/listen.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c net/listen.cc -fPIC -DPIC -o net/.libs/listen.o In file included from ./thread_disk.h:5, from ./manager.h:8, from net/listen.cc:17: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./manager.h:6: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/string:49, from /usr/include/c++/14/stdexcept:39, from ../rak/socket_address.h:53, from net/listen.cc:8: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_base.lo net/socket_base.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_base.cc -fPIC -DPIC -o net/.libs/socket_base.o In file included from ./thread_disk.h:5, from ./manager.h:8, from net/socket_base.cc:45: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./manager.h:6: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' net/socket_base.cc: In destructor 'virtual torrent::SocketBase::~SocketBase()': net/socket_base.cc:54:5: warning: 'throw' will always call 'terminate' [-Wterminate] 54 | throw internal_error("SocketBase::~SocketBase() called but m_fd is still valid"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net/socket_base.cc:54:5: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/string:49, from ./torrent/exceptions.h:47, from net/socket_base.cc:43: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_stream.lo net/socket_stream.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_stream.cc -fPIC -DPIC -o net/.libs/socket_stream.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_fd.lo net/socket_fd.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_fd.cc -fPIC -DPIC -o net/.libs/socket_fd.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_listen.lo net/socket_listen.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_listen.cc -fPIC -DPIC -o net/.libs/socket_listen.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_set.lo net/socket_set.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c net/socket_set.cc -fPIC -DPIC -o net/.libs/socket_set.o net/socket_set.cc: In member function 'void torrent::SocketSet::prepare()': net/socket_set.cc:70:42: warning: 'std::mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg)) [with _Ret = void; _Tp = torrent::SocketSet; _Arg = unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 70 | std::bind1st(std::mem_fun(&SocketSet::_replace_with_last), this)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from net/socket_set.cc:40: /usr/include/c++/14/bits/stl_function.h:1392:5: note: declared here 1392 | mem_fun(_Ret (_Tp::*__f)(_Arg)) | ^~~~~~~ net/socket_set.cc:70:29: warning: 'std::binder1st<_Operation> std::bind1st(const _Operation&, const _Tp&) [with _Operation = mem_fun1_t; _Tp = torrent::SocketSet*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 70 | std::bind1st(std::mem_fun(&SocketSet::_replace_with_last), this)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:136:5: note: declared here 136 | bind1st(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o net/throttle_list.lo net/throttle_list.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c net/throttle_list.cc -fPIC -DPIC -o net/.libs/throttle_list.o net/throttle_list.cc: In member function 'void torrent::ThrottleList::disable()': net/throttle_list.cc:115:45: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ThrottleNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 115 | std::for_each(begin(), end(), std::mem_fun(&ThrottleNode::clear_quota)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from ./torrent/exceptions.h:47, from net/throttle_list.cc:41: /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ net/throttle_list.cc:116:51: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ThrottleNode]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 116 | std::for_each(m_splitActive, end(), std::mem_fun(&ThrottleNode::activate)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o net/address_list.lo net/address_list.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c net/address_list.cc -fPIC -DPIC -o net/.libs/address_list.o In file included from net/address_list.cc:40: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ../rak/functional.h:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from net/address_list.cc:42: net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ net/address_list.cc: In member function 'void torrent::AddressList::parse_address_normal(const torrent::Object::list_type&)': net/address_list.cc:67:57: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = const torrent::Object&; _Result = rak::socket_address]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 67 | std::for_each(b.begin(), b.end(), rak::on(std::ptr_fun(&AddressList::parse_address), AddressList::add_address(this))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1123:5: note: declared here 1123 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/handshake_encryption.lo protocol/handshake_encryption.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c protocol/handshake_encryption.cc -fPIC -DPIC -o protocol/.libs/handshake_encryption.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o net/throttle_internal.lo net/throttle_internal.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c net/throttle_internal.cc -fPIC -DPIC -o net/.libs/throttle_internal.o In file included from net/throttle_internal.cc:39: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ../rak/functional.h:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from net/throttle_internal.cc:41: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' net/throttle_internal.cc: In member function 'void torrent::ThrottleInternal::enable()': net/throttle_internal.cc:78:69: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ThrottleInternal]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 78 | std::for_each(m_slaveList.begin(), m_slaveList.end(), std::mem_fun(&ThrottleInternal::enable)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ net/throttle_internal.cc: In member function 'void torrent::ThrottleInternal::disable()': net/throttle_internal.cc:91:69: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::ThrottleInternal]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 91 | std::for_each(m_slaveList.begin(), m_slaveList.end(), std::mem_fun(&ThrottleInternal::disable)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here 1368 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/peer_factory.lo protocol/peer_factory.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c protocol/peer_factory.cc -fPIC -DPIC -o protocol/.libs/peer_factory.o In file included from ./thread_disk.h:5, from ./manager.h:8, from protocol/peer_connection_base.h:54, from protocol/peer_connection_leech.h:40, from protocol/peer_factory.cc:40: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from protocol/peer_chunks.h:41, from protocol/peer_connection_base.h:48: ../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from ./torrent/exceptions.h:47, from ./net/socket_stream.h:43, from protocol/peer_connection_base.h:41: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ In file included from protocol/request_list.h:43, from protocol/peer_connection_base.h:50: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ./globals.h:5, from protocol/request_list.h:47: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/initial_seed.lo protocol/initial_seed.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c protocol/initial_seed.cc -fPIC -DPIC -o protocol/.libs/initial_seed.o In file included from ./thread_disk.h:5, from ./manager.h:8, from protocol/peer_connection_base.h:54, from protocol/peer_connection_leech.h:40, from protocol/initial_seed.cc:46: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./download/download_main.h:5, from protocol/initial_seed.h:40, from protocol/initial_seed.cc:45: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from ./torrent/download/choke_group.h:40, from protocol/initial_seed.cc:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:5, from ./download/download_main.h:7: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./download/available_list.h:45, from ./download/download_main.h:12: ./net/address_list.h: At global scope: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./download/download_main.h:16: ./torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from protocol/peer_chunks.h:41, from protocol/peer_connection_base.h:48: ../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ In file included from protocol/request_list.h:43, from protocol/peer_connection_base.h:50: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker/tracker_dht.lo tracker/tracker_dht.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c tracker/tracker_dht.cc -fPIC -DPIC -o tracker/.libs/tracker_dht.o In file included from ./thread_disk.h:5, from ./manager.h:8, from tracker/tracker_dht.cc:53: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./dht/dht_router.h:40, from tracker/tracker_dht.cc:42: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./dht/dht_tracker.h:45, from ./dht/dht_hash_map.h:45, from ./dht/dht_router.h:48: ./net/address_list.h: At global scope: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/istream:40, from /usr/include/c++/14/sstream:40, from tracker/tracker_dht.cc:39: /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ./dht/dht_hash_map.h:61:42: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 61 | struct hashstring_ptr_hash : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ./dht/dht_hash_map.h:78:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 78 | struct hashstring_hash : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ./dht/dht_hash_map.h:96:43: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 96 | struct hashstring_ptr_equal : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./dht/dht_server.h:50, from ./dht/dht_router.h:49: ./dht/dht_transaction.h:73:41: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 73 | struct dht_compare_closer : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/handshake_manager.lo protocol/handshake_manager.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c protocol/handshake_manager.cc -fPIC -DPIC -o protocol/.libs/handshake_manager.o In file included from ./thread_disk.h:5, from ./manager.h:8, from protocol/peer_connection_base.h:54, from protocol/handshake_manager.cc:15: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./download/download_main.h:5, from protocol/handshake_manager.cc:7: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from /usr/include/c++/14/stdexcept:39, from ../rak/socket_address.h:53, from protocol/handshake_manager.cc:3: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:5, from ./download/download_main.h:7: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./download/available_list.h:45, from ./download/download_main.h:12: ./net/address_list.h: At global scope: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./download/download_main.h:16: ./torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from protocol/peer_chunks.h:41, from protocol/peer_connection_base.h:48: ../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ In file included from protocol/request_list.h:43, from protocol/peer_connection_base.h:50: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/sha_fast.lo utils/sha_fast.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c utils/sha_fast.cc -fPIC -DPIC -o utils/.libs/sha_fast.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/handshake.lo protocol/handshake.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c protocol/handshake.cc -fPIC -DPIC -o protocol/.libs/handshake.o In file included from ./thread_disk.h:5, from ./manager.h:8, from protocol/handshake.cc:17: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./download/download_main.h:5, from protocol/handshake.cc:5: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/refwrap.h:39, from /usr/include/c++/14/deque:67, from ./download/download_main.h:4: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:5, from ./download/download_main.h:7: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./download/available_list.h:45, from ./download/download_main.h:12: ./net/address_list.h: At global scope: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./download/download_main.h:16: ./torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ protocol/handshake.cc: In destructor 'virtual torrent::Handshake::~Handshake()': protocol/handshake.cc:77:5: warning: 'throw' will always call 'terminate' [-Wterminate] 77 | throw internal_error("Handshake m_taskTimeout bork bork bork."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol/handshake.cc:77:5: note: in C++11 destructors default to 'noexcept' protocol/handshake.cc:80:5: warning: 'throw' will always call 'terminate' [-Wterminate] 80 | throw internal_error("Handshake dtor called but m_fd is still open."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol/handshake.cc:80:5: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/extensions.lo protocol/extensions.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c protocol/extensions.cc -fPIC -DPIC -o protocol/.libs/extensions.o In file included from ./thread_disk.h:5, from ./manager.h:8, from ./protocol/peer_connection_base.h:54, from protocol/extensions.cc:47: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./download/available_list.h:45, from protocol/extensions.cc:44: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/refwrap.h:39, from /usr/include/c++/14/vector:68, from ./download/available_list.h:40: /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./download/download_main.h:5, from protocol/extensions.cc:45: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:5, from ./download/download_main.h:7: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./download/download_main.h:16: ./torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./protocol/peer_chunks.h:41, from ./protocol/peer_connection_base.h:48: ../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/vector:62: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ In file included from ./protocol/request_list.h:43, from ./protocol/peer_connection_base.h:50: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/diffie_hellman.lo utils/diffie_hellman.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c utils/diffie_hellman.cc -fPIC -DPIC -o utils/.libs/diffie_hellman.o utils/diffie_hellman.cc: In function 'void torrent::dh_free(void*)': utils/diffie_hellman.cc:18:45: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 18 | static void dh_free(void* dh) { DH_free(reinterpret_cast(dh)); } | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from utils/diffie_hellman.cc:10: /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ utils/diffie_hellman.cc: In function 'torrent::DiffieHellman::dh_ptr torrent::dh_new()': utils/diffie_hellman.cc:19:100: warning: 'DH* DH_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | static DiffieHellman::dh_ptr dh_new() { return DiffieHellman::dh_ptr(reinterpret_cast(DH_new()), &dh_free); } | ~~~~~~^~ /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ utils/diffie_hellman.cc: In function 'bool torrent::dh_set_pg(DiffieHellman::dh_ptr&, BIGNUM*, BIGNUM*)': utils/diffie_hellman.cc:25:21: warning: 'int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 25 | return DH_set0_pqg(reinterpret_cast(dh.get()), dh_p, nullptr, dh_g); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ utils/diffie_hellman.cc: In function 'const BIGNUM* torrent::dh_get_pub_key(const DiffieHellman::dh_ptr&)': utils/diffie_hellman.cc:36:14: warning: 'void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 36 | DH_get0_key(reinterpret_cast(dh.get()), &pub_key, nullptr); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o download/download_wrapper.lo download/download_wrapper.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c download/download_wrapper.cc -fPIC -DPIC -o download/.libs/download_wrapper.o In file included from ./thread_disk.h:5, from ./manager.h:8, from ./protocol/peer_connection_base.h:54, from download/download_wrapper.cc:11: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./data/chunk_list.h:44, from download/download_wrapper.cc:7: ./data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': ./data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/streambuf:43, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from download/download_wrapper.cc:3: /usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ ./data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./data/hash_torrent.h:43, from download/download_wrapper.cc:9: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./protocol/peer_chunks.h:41, from ./protocol/peer_connection_base.h:48: ../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ In file included from ./protocol/request_list.h:43, from ./protocol/peer_connection_base.h:50: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_router.lo dht/dht_router.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c dht/dht_router.cc -fPIC -DPIC -o dht/.libs/dht_router.o In file included from ./thread_disk.h:5, from ./manager.h:8, from dht/dht_router.cc:49: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./globals.h:5, from dht/dht_router.cc:38: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from dht/dht_router.cc:41: ../rak/functional.h: At global scope: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ../rak/priority_queue_default.h:40: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o download/download_main.lo download/download_main.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c download/download_main.cc -fPIC -DPIC -o download/.libs/download_main.o In file included from ./thread_disk.h:5, from ./manager.h:8, from ./protocol/peer_connection_base.h:54, from download/download_main.cc:10: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./data/chunk_list.h:44, from download/download_main.cc:6: ./data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': ./data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ./data/chunk_list.h:40: /usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ ./data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./protocol/extensions.h:48, from download/download_main.cc:7: ./net/address_list.h: At global scope: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./protocol/handshake_manager.h:7, from download/download_main.cc:8: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:5, from ./download/download_main.h:7, from ./protocol/initial_seed.h:40, from download/download_main.cc:9: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./download/download_main.h:16: ./torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./protocol/peer_chunks.h:41, from ./protocol/peer_connection_base.h:48: ../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ In file included from ./protocol/request_list.h:43, from ./protocol/peer_connection_base.h:50: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' download/download_main.cc: In destructor 'torrent::DownloadMain::~DownloadMain()': download/download_main.cc:98:5: warning: 'throw' will always call 'terminate' [-Wterminate] 98 | throw internal_error("DownloadMain::~DownloadMain(): m_taskTrackerRequest is queued."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download/download_main.cc:98:5: note: in C++11 destructors default to 'noexcept' download/download_main.cc:105:5: warning: 'throw' will always call 'terminate' [-Wterminate] 105 | throw internal_error("DownloadMain::~DownloadMain(): m_info->size_pex() != 0."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ download/download_main.cc:105:5: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/instrumentation.lo utils/instrumentation.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c utils/instrumentation.cc -fPIC -DPIC -o utils/.libs/instrumentation.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/peer_connection_metadata.lo protocol/peer_connection_metadata.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c protocol/peer_connection_metadata.cc -fPIC -DPIC -o protocol/.libs/peer_connection_metadata.o In file included from ./thread_disk.h:5, from ./manager.h:8, from protocol/peer_connection_base.h:54, from protocol/peer_connection_metadata.h:40, from protocol/peer_connection_metadata.cc:55: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./download/chunk_selector.h:41, from protocol/peer_connection_metadata.cc:43: ../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/istream:40, from /usr/include/c++/14/sstream:40, from protocol/peer_connection_metadata.cc:40: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ In file included from ./torrent/utils/ranges.h:43, from ./torrent/data/download_data.h:9, from ./download/chunk_selector.h:44: ../rak/functional.h: At global scope: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:5, from ./download/download_main.h:7, from protocol/peer_connection_metadata.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./download/available_list.h:45, from ./download/download_main.h:12: ./net/address_list.h: At global scope: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./download/download_main.h:16: ./torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from protocol/request_list.h:43, from protocol/peer_connection_base.h:50: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_server.lo dht/dht_server.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c dht/dht_server.cc -fPIC -DPIC -o dht/.libs/dht_server.o In file included from ./thread_disk.h:5, from ./manager.h:8, from dht/dht_server.cc:59: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from ./globals.h:5, from dht/dht_server.cc:38: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from dht/dht_server.cc:42: ../rak/functional.h: At global scope: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ../rak/priority_queue_default.h:40: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./tracker/tracker_dht.h:40, from dht/dht_server.cc:53: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from dht/dht_router.h:48, from dht/dht_server.cc:56: dht/dht_hash_map.h:61:42: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 61 | struct hashstring_ptr_hash : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ dht/dht_hash_map.h:78:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 78 | struct hashstring_hash : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ dht/dht_hash_map.h:96:43: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 96 | struct hashstring_ptr_equal : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from dht/dht_server.h:50, from dht/dht_router.h:49: dht/dht_transaction.h:73:41: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 73 | struct dht_compare_closer : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o download/download_constructor.lo download/download_constructor.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c download/download_constructor.cc -fPIC -DPIC -o download/.libs/download_constructor.o In file included from ./thread_disk.h:5, from ./manager.h:8, from download/download_constructor.cc:56: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from download/download_constructor.cc:42: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ../rak/functional.h:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./globals.h:5, from ./download/download_main.h:7, from ./download/download_wrapper.h:41, from download/download_constructor.cc:45: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./download/available_list.h:45, from ./download/download_main.h:12: ./net/address_list.h: At global scope: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./download/download_main.h:16: ./torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ download/download_constructor.cc: At global scope: download/download_constructor.cc:77:17: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 77 | public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ download/download_constructor.cc: In member function 'void torrent::DownloadConstructor::parse_tracker(const torrent::Object&)': download/download_constructor.cc:195:82: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = torrent::Object]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 195 | std::find_if(announce_list->begin(), announce_list->end(), std::mem_fun_ref(&Object::is_list)) != announce_list->end()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ download/download_constructor.cc: In member function 'torrent::Path torrent::DownloadConstructor::create_path(const torrent::Object::list_type&, std::string)': download/download_constructor.cc:343:60: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = const torrent::Object&; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 343 | if (std::find_if(plist.begin(), plist.end(), std::ptr_fun(&DownloadConstructor::is_invalid_path_element)) != plist.end()) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1123:5: note: declared here 1123 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ download/download_constructor.cc:349:113: warning: 'std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = const __cxx11::basic_string&; _Tp = torrent::Object]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 349 | std::transform(plist.begin(), plist.end(), std::back_inserter(p), std::mem_fun_ref(&Object::as_string)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1386:5: note: declared here 1386 | mem_fun_ref(_Ret (_Tp::*__f)() const) | ^~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/request_list.lo protocol/request_list.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c protocol/request_list.cc -fPIC -DPIC -o protocol/.libs/request_list.o In file included from protocol/request_list.cc:6: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from protocol/request_list.cc:4: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./torrent/data/block.h:42, from protocol/request_list.cc:8: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from protocol/peer_chunks.h:41, from protocol/request_list.cc:14: ../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60, from protocol/request_list.cc:3: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ In file included from ./globals.h:5, from protocol/request_list.h:47, from protocol/request_list.cc:15: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' protocol/request_list.cc: In destructor 'torrent::RequestList::~RequestList()': protocol/request_list.cc:82:5: warning: 'throw' will always call 'terminate' [-Wterminate] 82 | throw internal_error("request dtor m_transfer != NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol/request_list.cc:82:5: note: in C++11 destructors default to 'noexcept' protocol/request_list.cc:85:5: warning: 'throw' will always call 'terminate' [-Wterminate] 85 | throw internal_error("request dtor m_queues not empty"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol/request_list.cc:85:5: note: in C++11 destructors default to 'noexcept' protocol/request_list.cc: In member function 'void torrent::RequestList::stall_initial()': protocol/request_list.cc:115:70: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = torrent::BlockTransfer*; _Result = void]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 115 | queue_bucket_for_all_in_queue(m_queues, bucket_queued, std::ptr_fun(&Block::stalled)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1123:5: note: declared here 1123 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ protocol/request_list.cc:117:73: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = torrent::BlockTransfer*; _Result = void]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 117 | queue_bucket_for_all_in_queue(m_queues, bucket_unordered, std::ptr_fun(&Block::stalled)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1123:5: note: declared here 1123 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ protocol/request_list.cc: In member function 'void torrent::RequestList::stall_prolonged()': protocol/request_list.cc:126:70: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = torrent::BlockTransfer*; _Result = void]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 126 | queue_bucket_for_all_in_queue(m_queues, bucket_queued, std::ptr_fun(&Block::stalled)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1123:5: note: declared here 1123 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ protocol/request_list.cc:128:73: warning: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = torrent::BlockTransfer*; _Result = void]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 128 | queue_bucket_for_all_in_queue(m_queues, bucket_unordered, std::ptr_fun(&Block::stalled)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1123:5: note: declared here 1123 | ptr_fun(_Result (*__x)(_Arg)) | ^~~~~~~ protocol/request_list.cc: In member function 'bool torrent::RequestList::downloading(const torrent::Piece&)': protocol/request_list.cc:240:62: warning: comparison of integer expressions of different signedness: 'std::__iterator_traits, void>::difference_type' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 240 | if (std::distance(m_queues.begin(itr.first), itr.second) < m_last_unordered_position) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol/request_list.cc: At global scope: protocol/request_list.cc:338:38: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 338 | struct equals_reservee : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/peer_connection_base.lo protocol/peer_connection_base.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c protocol/peer_connection_base.cc -fPIC -DPIC -o protocol/.libs/peer_connection_base.o In file included from ./thread_disk.h:5, from ./manager.h:8, from protocol/peer_connection_base.h:54, from protocol/peer_connection_base.cc:65: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from protocol/peer_connection_base.cc:42: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from ../rak/functional.h:41: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./data/chunk_iterator.h:40, from protocol/peer_connection_base.cc:45: ./data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': ./data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ ./data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./download/chunk_selector.h:41, from protocol/peer_connection_base.cc:47: ../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ In file included from ./globals.h:5, from ./download/download_main.h:7, from protocol/peer_connection_base.cc:49: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./download/available_list.h:45, from ./download/download_main.h:12: ./net/address_list.h: At global scope: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./download/download_main.h:16: ./torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./torrent/data/block.h:42, from protocol/peer_connection_base.cc:52: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker/tracker_http.lo tracker/tracker_http.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c tracker/tracker_http.cc -fPIC -DPIC -o tracker/.libs/tracker_http.o tracker/tracker_http.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "config.h" | ^~~~~~ tracker/tracker_http.cc:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ tracker/tracker_http.cc:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ tracker/tracker_http.cc:7:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 7 | #import | ^~~~~~ tracker/tracker_http.cc:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ tracker/tracker_http.cc:10:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 10 | #import "net/address_list.h" | ^~~~~~ tracker/tracker_http.cc:11:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 11 | #import "torrent/connection_manager.h" | ^~~~~~ tracker/tracker_http.cc:12:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 12 | #import "torrent/download_info.h" | ^~~~~~ tracker/tracker_http.cc:13:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 13 | #import "torrent/exceptions.h" | ^~~~~~ tracker/tracker_http.cc:14:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 14 | #import "torrent/http.h" | ^~~~~~ tracker/tracker_http.cc:15:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 15 | #import "torrent/net/utils.h" | ^~~~~~ In file included from tracker/tracker_http.cc:15: ./torrent/net/utils.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import | ^~~~~~ ./torrent/net/utils.h:2:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 2 | #import | ^~~~~~ tracker/tracker_http.cc:16:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 16 | #import "torrent/net/socket_address.h" | ^~~~~~ tracker/tracker_http.cc:17:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 17 | #import "torrent/object_stream.h" | ^~~~~~ tracker/tracker_http.cc:18:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 18 | #import "torrent/tracker_list.h" | ^~~~~~ tracker/tracker_http.cc:19:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 19 | #import "torrent/utils/log.h" | ^~~~~~ tracker/tracker_http.cc:20:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 20 | #import "torrent/utils/option_strings.h" | ^~~~~~ tracker/tracker_http.cc:22:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 22 | #import "tracker_http.h" | ^~~~~~ tracker/tracker_http.cc:24:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 24 | #import "globals.h" | ^~~~~~ tracker/tracker_http.cc:25:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 25 | #import "manager.h" | ^~~~~~ In file included from ./thread_disk.h:5, from ./manager.h:8, from tracker/tracker_http.cc:25: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from tracker/tracker_http.cc:7: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/iomanip:42, from tracker/tracker_http.cc:5: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from tracker/tracker_http.cc:10: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./globals.h:5, from tracker/tracker_http.cc:24: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/peer_connection_leech.lo protocol/peer_connection_leech.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c protocol/peer_connection_leech.cc -fPIC -DPIC -o protocol/.libs/peer_connection_leech.o In file included from ./thread_disk.h:5, from ./manager.h:8, from protocol/peer_connection_base.h:54, from protocol/peer_connection_leech.h:40, from protocol/peer_connection_leech.cc:58: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from protocol/peer_connection_leech.cc:41: ../rak/functional.h:174:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 174 | struct less2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/istream:40, from /usr/include/c++/14/sstream:40, from protocol/peer_connection_leech.cc:40: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:213:33: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 213 | struct greater2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:273:29: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 273 | struct invert : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:279:27: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 279 | struct on_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:299:28: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 299 | struct on2_t : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ ../rak/functional.h:320:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 320 | struct mem_ptr_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:341:32: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 341 | struct mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:352:38: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 352 | struct const_mem_ref_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:395:34: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 395 | struct call_delete : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:408:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 408 | class bind1st_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:433:31: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 433 | class bind2nd_t : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ ../rak/functional.h:551:30: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 551 | class mem_fun2 : public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from ./download/chunk_selector.h:41, from protocol/peer_connection_leech.cc:45: ../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../rak/partial_queue.h:140:14: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 140 | std::memset(m_layers, 0, num_layers * sizeof(size_pair_type)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51: /usr/include/c++/14/bits/stl_pair.h:284:12: note: 'rak::partial_queue::size_pair_type' {aka 'struct std::pair'} declared here 284 | struct pair | ^~~~ In file included from ./globals.h:5, from ./download/download_main.h:7, from protocol/peer_connection_leech.cc:47: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ./download/available_list.h:45, from ./download/download_main.h:12: ./net/address_list.h: At global scope: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./download/download_main.h:16: ./torrent/data/file_list.h: In function 'std::vector::iterator torrent::file_list_contains_position(FileList*, uint64_t)': ./torrent/data/file_list.h:202:86: warning: 'std::const_mem_fun1_t<_Ret, _Tp, _Arg> std::mem_fun(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::File; _Arg = long long unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from protocol/request_list.h:43, from protocol/peer_connection_base.h:50: ./torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ./torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ./torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker/tracker_udp.lo tracker/tracker_udp.cc libtool: compile: i586-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -c tracker/tracker_udp.cc -fPIC -DPIC -o tracker/.libs/tracker_udp.o In file included from ./thread_disk.h:5, from ./manager.h:8, from tracker/tracker_udp.cc:58: ./torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ./torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ./torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ./torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ./torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from tracker/tracker_udp.cc:47: ./net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from ./net/address_list.h:41: /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ./globals.h:5, from tracker/tracker_udp.h:48, from tracker/tracker_udp.cc:57: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../rak/priority_queue_default.h:56:7: note: in C++11 destructors default to 'noexcept' In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::priority_compare; Equal = std::equal_to; Alloc = rak::cacheline_allocator; iterator = std::vector >::iterator]': ../rak/priority_queue_default.h:113:18: required from here 113 | if (queue->find(item) != queue->end()) | ~~~~~~~~~~~^~~~~~ ../rak/priority_queue.h:88:53: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = equal_to; _Tp = rak::priority_item*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 88 | return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -std=c++14 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -L/usr/lib -L/usr/lib -o libtorrent_other.la data/chunk.lo data/chunk_list.lo data/chunk_part.lo data/hash_check_queue.lo data/hash_chunk.lo data/hash_queue.lo data/hash_queue_node.lo data/hash_torrent.lo data/memory_chunk.lo data/socket_file.lo dht/dht_bucket.lo dht/dht_node.lo dht/dht_router.lo dht/dht_server.lo dht/dht_tracker.lo dht/dht_transaction.lo download/available_list.lo download/chunk_selector.lo download/chunk_statistics.lo download/delegator.lo download/download_constructor.lo download/download_main.lo download/download_wrapper.lo net/address_list.lo net/listen.lo net/socket_base.lo net/socket_datagram.lo net/socket_fd.lo net/socket_listen.lo net/socket_set.lo net/socket_stream.lo net/throttle_internal.lo net/throttle_list.lo protocol/extensions.lo protocol/handshake.lo protocol/handshake_encryption.lo protocol/handshake_manager.lo protocol/initial_seed.lo protocol/peer_connection_base.lo protocol/peer_connection_leech.lo protocol/peer_connection_metadata.lo protocol/peer_factory.lo protocol/request_list.lo tracker/tracker_dht.lo tracker/tracker_http.lo tracker/tracker_udp.lo utils/diffie_hellman.lo utils/instrumentation.lo utils/sha_fast.lo -lpthread -lcppunit -lz -lcrypto libtool: link: ar cr .libs/libtorrent_other.a data/.libs/chunk.o data/.libs/chunk_list.o data/.libs/chunk_part.o data/.libs/hash_check_queue.o data/.libs/hash_chunk.o data/.libs/hash_queue.o data/.libs/hash_queue_node.o data/.libs/hash_torrent.o data/.libs/memory_chunk.o data/.libs/socket_file.o dht/.libs/dht_bucket.o dht/.libs/dht_node.o dht/.libs/dht_router.o dht/.libs/dht_server.o dht/.libs/dht_tracker.o dht/.libs/dht_transaction.o download/.libs/available_list.o download/.libs/chunk_selector.o download/.libs/chunk_statistics.o download/.libs/delegator.o download/.libs/download_constructor.o download/.libs/download_main.o download/.libs/download_wrapper.o net/.libs/address_list.o net/.libs/listen.o net/.libs/socket_base.o net/.libs/socket_datagram.o net/.libs/socket_fd.o net/.libs/socket_listen.o net/.libs/socket_set.o net/.libs/socket_stream.o net/.libs/throttle_internal.o net/.libs/throttle_list.o protocol/.libs/extensions.o protocol/.libs/handshake.o protocol/.libs/handshake_encryption.o protocol/.libs/handshake_manager.o protocol/.libs/initial_seed.o protocol/.libs/peer_connection_base.o protocol/.libs/peer_connection_leech.o protocol/.libs/peer_connection_metadata.o protocol/.libs/peer_factory.o protocol/.libs/request_list.o tracker/.libs/tracker_dht.o tracker/.libs/tracker_http.o tracker/.libs/tracker_udp.o utils/.libs/diffie_hellman.o utils/.libs/instrumentation.o utils/.libs/sha_fast.o libtool: link: ranlib .libs/libtorrent_other.a libtool: link: ( cd ".libs" && rm -f "libtorrent_other.la" && ln -s "../libtorrent_other.la" "libtorrent_other.la" ) make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -std=c++14 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -DDEBUG -Wall -fvisibility=hidden -version-info 22:0:0 -L/usr/lib -L/usr/lib -o libtorrent.la -rpath /usr/lib globals.lo manager.lo thread_disk.lo thread_main.lo torrent/libtorrent_torrent.la libtorrent_other.la -lpthread -lcppunit -lz -lcrypto libtool: link: i586-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i586-alt-linux/14/../../../crti.o /usr/lib/gcc/i586-alt-linux/14/crtbeginS.o .libs/globals.o .libs/manager.o .libs/thread_disk.o .libs/thread_main.o -Wl,--whole-archive torrent/.libs/libtorrent_torrent.a ./.libs/libtorrent_other.a -Wl,--no-whole-archive -L/usr/lib -lpthread -lcppunit -lz -lcrypto -L/usr/lib/gcc/i586-alt-linux/14 -L/usr/lib/gcc/i586-alt-linux/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/14/crtendS.o /usr/lib/gcc/i586-alt-linux/14/../../../crtn.o -g -O2 -march=i586 -mtune=generic -g -pthread -Wl,-soname -Wl,libtorrent.so.22 -o .libs/libtorrent.so.22.0.0 libtool: link: (cd ".libs" && rm -f "libtorrent.so.22" && ln -s "libtorrent.so.22.0.0" "libtorrent.so.22") libtool: link: (cd ".libs" && rm -f "libtorrent.so" && ln -s "libtorrent.so.22.0.0" "libtorrent.so") libtool: link: ( cd ".libs" && rm -f "libtorrent.la" && ln -s "../libtorrent.la" "libtorrent.la" ) make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' Making all in test make[2]: Nothing to be done for 'all'. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.69060 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/libtorrent-buildroot + : + /bin/rm -rf -- /usr/src/tmp/libtorrent-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd libtorrent-0.14.0 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/libtorrent-buildroot make: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' Making install in torrent make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/src/tmp/libtorrent-buildroot/usr/include/torrent/data' /usr/libexec/rpm-build/install -p -m 644 data/block.h data/block_list.h data/block_transfer.h data/chunk_utils.h data/download_data.h data/file.h data/file_list.h data/file_list_iterator.h data/file_manager.h data/file_utils.h data/piece.h data/transfer_list.h '/usr/src/tmp/libtorrent-buildroot/usr/include/torrent/data' /usr/bin/mkdir -p '/usr/src/tmp/libtorrent-buildroot/usr/include/torrent/download' /usr/libexec/rpm-build/install -p -m 644 download/choke_group.h download/choke_queue.h download/download_manager.h download/group_entry.h download/resource_manager.h '/usr/src/tmp/libtorrent-buildroot/usr/include/torrent/download' /usr/bin/mkdir -p '/usr/src/tmp/libtorrent-buildroot/usr/include/torrent' /usr/libexec/rpm-build/install -p -m 644 bitfield.h chunk_manager.h common.h connection_manager.h dht_manager.h download.h download_info.h error.h exceptions.h event.h hash_string.h http.h object.h object_raw_bencode.h object_static_map.h object_stream.h path.h poll.h poll_epoll.h poll_kqueue.h poll_select.h rate.h throttle.h torrent.h tracker.h tracker_controller.h tracker_list.h '/usr/src/tmp/libtorrent-buildroot/usr/include/torrent' /usr/bin/mkdir -p '/usr/src/tmp/libtorrent-buildroot/usr/include/torrent/net' /usr/libexec/rpm-build/install -p -m 644 net/address_info.h net/fd.h net/socket_address.h net/socket_address_key.h net/socket_event.h net/types.h net/utils.h '/usr/src/tmp/libtorrent-buildroot/usr/include/torrent/net' /usr/bin/mkdir -p '/usr/src/tmp/libtorrent-buildroot/usr/include/torrent/peer' /usr/libexec/rpm-build/install -p -m 644 peer/choke_status.h peer/client_info.h peer/client_list.h peer/connection_list.h peer/peer.h peer/peer_info.h peer/peer_list.h '/usr/src/tmp/libtorrent-buildroot/usr/include/torrent/peer' /usr/bin/mkdir -p '/usr/src/tmp/libtorrent-buildroot/usr/include/torrent/utils' /usr/libexec/rpm-build/install -p -m 644 utils/directory_events.h utils/extents.h utils/log.h utils/log_buffer.h utils/option_strings.h utils/ranges.h utils/resume.h utils/signal_bitfield.h utils/thread_base.h utils/thread_interrupt.h utils/uri_parser.h '/usr/src/tmp/libtorrent-buildroot/usr/include/torrent/utils' make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src/torrent' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' /usr/bin/mkdir -p '/usr/src/tmp/libtorrent-buildroot/usr/lib' /bin/sh ../libtool --mode=install /usr/libexec/rpm-build/install -p libtorrent.la '/usr/src/tmp/libtorrent-buildroot/usr/lib' libtool: install: /usr/libexec/rpm-build/install -p .libs/libtorrent.so.22.0.0 /usr/src/tmp/libtorrent-buildroot/usr/lib/libtorrent.so.22.0.0 libtool: install: (cd /usr/src/tmp/libtorrent-buildroot/usr/lib && { ln -s -f libtorrent.so.22.0.0 libtorrent.so.22 || { rm -f libtorrent.so.22 && ln -s libtorrent.so.22.0.0 libtorrent.so.22; }; }) libtool: install: (cd /usr/src/tmp/libtorrent-buildroot/usr/lib && { ln -s -f libtorrent.so.22.0.0 libtorrent.so || { rm -f libtorrent.so && ln -s libtorrent.so.22.0.0 libtorrent.so; }; }) libtool: install: /usr/libexec/rpm-build/install -p .libs/libtorrent.lai /usr/src/tmp/libtorrent-buildroot/usr/lib/libtorrent.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/src' Making install in test make[1]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[1]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[1]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/src/tmp/libtorrent-buildroot/usr/lib/pkgconfig' /usr/libexec/rpm-build/install -p -m 644 libtorrent.pc '/usr/src/tmp/libtorrent-buildroot/usr/lib/pkgconfig' make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0' make[1]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0' make: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/libtorrent-buildroot (auto) removed './usr/lib/libtorrent.la' mode of './usr/lib/libtorrent.so.22.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/libtorrent-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/lib/pkgconfig/libtorrent.pc: Cflags: '-I${includedir}' --> '' /usr/lib/pkgconfig/libtorrent.pc: Libs: '-L${libdir} -ltorrent' --> '-ltorrent' Checking contents of files in /usr/src/tmp/libtorrent-buildroot/ (default) Compressing files in /usr/src/tmp/libtorrent-buildroot (auto) Adjusting library links in /usr/src/tmp/libtorrent-buildroot ./usr/lib: (from :0) libtorrent.so.22 -> libtorrent.so.22.0.0 Verifying ELF objects in /usr/src/tmp/libtorrent-buildroot (arch=strict,fhs=strict,lfs=strict,lint=strict,rpath=strict,stack=strict,textrel=strict,unresolved=strict) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/libtorrent-buildroot Processing files: libtorrent22-0.14.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.26085 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libtorrent-0.14.0 + DOCDIR=/usr/src/tmp/libtorrent-buildroot/usr/share/doc/libtorrent22-0.14.0 + export DOCDIR + rm -rf /usr/src/tmp/libtorrent-buildroot/usr/share/doc/libtorrent22-0.14.0 + /bin/mkdir -p /usr/src/tmp/libtorrent-buildroot/usr/share/doc/libtorrent22-0.14.0 + cp -prL AUTHORS ChangeLog NEWS README /usr/src/tmp/libtorrent-buildroot/usr/share/doc/libtorrent22-0.14.0 + chmod -R go-w /usr/src/tmp/libtorrent-buildroot/usr/share/doc/libtorrent22-0.14.0 + chmod -R a+rX /usr/src/tmp/libtorrent-buildroot/usr/share/doc/libtorrent22-0.14.0 + cp -prL --no-dereference COPYING /usr/src/tmp/libtorrent-buildroot/usr/share/doc/libtorrent22-0.14.0 + chmod -R go-w /usr/src/tmp/libtorrent-buildroot/usr/share/doc/libtorrent22-0.14.0 + chmod -R a+rX /usr/src/tmp/libtorrent-buildroot/usr/share/doc/libtorrent22-0.14.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ArgTC5 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) lib.prov: /usr/src/tmp/libtorrent-buildroot/usr/lib/libtorrent.so.22: 1095 symbols, 21 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7oifEd find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: libtorrent.so.22 = set:odI9Ia1upmeEk0cP4RZq2iAA9vvZqU1qoFNUgFz0pmkcWZmKKa99Y464conwYSDB2caO4EMw4HOtoLKMBygSPYkvnf8FnUWhYom3TyHmnaFyCB30pZ9Sdh5j8iw4J95ZxFtlub4GAmnHYI2wLFNfX06tT3SOPeDaykqGj1I66LOZ3Y39HxhKk75va1XJBdrb1k2gZvrPEibYzZkr81r0OhZgwZa0g7g3YOLfG95P1c5Z7m4PxQQ34piGlxgxfqgf1QdfHpcNmqmm4Sh4D1k1We9AnzKhFh5NB4BniBQFk2QHD47hZ4wTs0FpKpCRYfcoZFXwol1CtHicsFHA1CwQb8vxJ80xecvKZ4OwxRwEmj8CSarTeLxJEQy40iv4kx5Wv1YLWZHLFHRxBVkh1CT025hQZpERXAQXoEG6mXIZp3t7cUrN2ZCZdVosDHxHCldVoUCnE8mYaNmBlc5ChwzqEt2Aojgl6stBTVS1K6taWVS8xdzyIlLzKjKilpiM854qIg980CfMuGZshhNVQqlBSgHzWut5fUj4gICrhBRCEJpIG6H1vkhIlIZhhw4ajzBSXZJFku04nPtWSeoJ2E20cZqn5AgaelSaVkDSD6jsHqQls5cMYEeuw6rA0yB8noqY633l9Vb9FBzbzULvcKn0Ul3KcogU4mL8ZGLekhQJWkYvpKdN05zXyuN5zTzX6y8iZIoiq3Jh0ZHLv5HtRizaKIynzQIrPyCokkFr0mSVNw6n2zs3oB3vHZK35K2ujjQzJW1a2kBsLZ5zA58ZxAU81CXROUp7SzbIvkON5cXbE0yBsuA958w9FUAbbWoKPGl4AKm0Ad2hxv3o3EUTxKcNgivxWxxlZlYpYgQ7ga4i5cAA2RjYRoO0wA5jMf5ZFU3dgtKicFs5jVBhgfIpQqlqeWFICb8FCdZH2oZbtjh46rqdB0khUIYY9wTYd5fxdfZBzc1eP0nJjVK0tDYx3BTYpmw1k8e8hjZxYbml3cEPI0Q2lwYccZhCuVHvE9Tu5Mf1tF5LC7hOSgbjjUPtwbgn2ydZhwKfEL0TZ66Z240oL0l3hO1zf7eltzVttj81ZsjpRsZs7gigOKmwRxRFTYqNPTT6xKnG1DjFkTx3Zns8qdmCIisoVYQyxw0ioScGjgEV5w8oQ8K3sna7GbYiQFNKg4GaWrIjB5WkUqpv3YHPT2hf0OfyVVnrZc1kSMYxab6sofyjHESnBsg3BqYDJAJzgxg1VOW31plqwDwU8MGyZxSAoqLhIzAOuhMgJhViZ9gBOWm58HPJXIqZnPJxQMkIrJhreH9umtLkm3JnRWG2MG0IZk9Qz0yVhgaHCMIZ8mqr5JlClfSI2dTFvaVk8QQPJx9CB46gwZ3yzAOFZy0eaglBf2ExMW8LOnjgW5ZlIAiwjEhc2g0JrylX48xd2ae0uN8ZgMOphOVLX5jEZjMfCzwMFXTd2j3cUa1GeMZJdjM2IigPUbZu2hxX6dJBVDN8niTosJktlCcwvXSgGcMxQP2ZriYoLJgEwAGsRINoGlVZnGlDHmZAaUJtuE4w5wvre9HkR2Jl4660o8pi1BJZAgXhoBKataOH0t7MzKzbg2Or0HWJRIkMlLfwyp1xVqfnZutTa5awr4zzUAcwDZLKynbZqySyq0Khm1t4plPlV2QyWfbiIcMleDUnJm5t3awAAuS0xH3i755T5Io45gcZLEZgnRkf0fcS1QhHex031r84Zh0UAFJZ7yP1UgKUBH0YYkZ0WU93swy1yv5cTdObQjdl9ZkDxfVCx1ll9iPilxVPtPgmZ5ZsJiK74kUYs0GoPkVL3dZ5grNbN5s9R5n00gnUo2atZs1gSUCMffN2Bl5iqLqrF0vBRZteIfqc8HDqcZjTX7QPCGArxT5vOMTcypqT6nZ0wZ9IQQrZGuwRaqZkAiZJUMhMxrH3A2sC1kvElXIZ4hyXlV9NzrnSkOiwypxCEvY5Q206DLJA7ZClRNc5N53YqF3rNieK7acmLh56JAR1xBxgbUg7KAtA2UCjfobhZ90cgKrILuv4Bpoq8tuyA4ZcEteUuS0KLZjw7io3UjApVKELAfyA2AbbB00p0RalbqjOeflAwwc5Y60iEOzIWbk0QPw92ou9bx93FqW8T8q1yGwU561AayDwv0AgNBWdBZJ24iOtGEiNGNt2qOPwgMj7QyV1Z7iJgEirpZ85hirAoB8SHjaRcM4qdA6znjJ1rrMk6HevIlfwAgt1kCPBpAZ9gs2J2gTgcZLQVUOZfQGAaobvZ072u9rEk2e9Wkig4BOgYFUyTB1p4539l Requires: libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.32), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.38), libc.so.6(GLIBC_2.4), libcrypto.so.3 >= set:qlo4YiTIEWFpJVj3VfNWLXNCE6IZk12iB9iPZe90AnDv77czcAHMUNRVu, libcrypto.so.3(OPENSSL_3.0.0), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.4), libgcc_s.so.1(GCC_7.0.0), libgcc_s.so.1(GLIBC_2.0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.15), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.14), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.18), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.26), libstdc++.so.6(GLIBCXX_3.4.29), libstdc++.so.6(GLIBCXX_3.4.32), libstdc++.so.6(GLIBCXX_3.4.9), libz.so.1 >= set:kikn3bKlVc2, libz.so.1(ZLIB_1.2.3.3), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qpJq9E Creating libtorrent22-debuginfo package Processing files: libtorrent-devel-0.14.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wlrLRM find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.IKnKe2 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/http.h:40:10: fatal error: string: No such file or directory 40 | #include | ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/http.h: cpp failed, trying c++ mode In file included from /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/data/download_data.h:9, from /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/data/file_list.h:46: /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/utils/ranges.h:43:10: fatal error: rak/functional.h: No such file or directory 43 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/data/file_list.h: cpp failed In file included from /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/data/download_data.h:9, from /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/data/file_list.h:46, from /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/data/file_utils.h:41: /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/utils/ranges.h:43:10: fatal error: rak/functional.h: No such file or directory 43 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/data/file_utils.h: cpp failed In file included from /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/data/download_data.h:9: /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/utils/ranges.h:43:10: fatal error: rak/functional.h: No such file or directory 43 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/data/download_data.h: cpp failed In file included from /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/data/download_data.h:9, from /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/data/file_list.h:46, from /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/data/file_list_iterator.h:42: /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/utils/ranges.h:43:10: fatal error: rak/functional.h: No such file or directory 43 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/data/file_list_iterator.h: cpp failed /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/utils/ranges.h:43:10: fatal error: rak/functional.h: No such file or directory 43 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/libtorrent-buildroot/usr/include/torrent/utils/ranges.h: cpp failed Provides: pkgconfig(libtorrent) = 0.14.0 Requires: libtorrent22 = 3:0.14.0-alt1, /usr/lib/libtorrent.so.22.0.0, /usr/lib/pkgconfig Conflicts: libtorrent-rasterbar-devel Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.G6LISW Processing files: libtorrent22-debuginfo-0.14.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WmNHA8 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7CJ168 find-requires: running scripts (debuginfo) Provides: debug(libtorrent.so.22) Requires: libtorrent22 = 3:0.14.0-alt1, debug(libc.so.6), debug(libcrypto.so.3), debug(libgcc_s.so.1), debug(libstdc++.so.6), debug(libz.so.1) Adding to libtorrent-devel a strict dependency on libtorrent22 Adding to libtorrent22-debuginfo a strict dependency on libtorrent22 Removing 1 extra deps from libtorrent-devel due to dependency on libtorrent22 Wrote: /usr/src/RPM/RPMS/i586/libtorrent22-0.14.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libtorrent-devel-0.14.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libtorrent22-debuginfo-0.14.0-alt1.i586.rpm (w2T16.xzdio) 149.25user 27.12system 0:43.69elapsed 403%CPU (0avgtext+0avgdata 174080maxresident)k 0inputs+0outputs (0major+5111516minor)pagefaults 0swaps 3.22user 2.51system 0:54.37elapsed 10%CPU (0avgtext+0avgdata 131328maxresident)k 0inputs+0outputs (0major+218491minor)pagefaults 0swaps --- libtorrent22-0.14.0-alt1.i586.rpm.repo 2024-10-16 14:25:43.000000000 +0000 +++ libtorrent22-0.14.0-alt1.i586.rpm.hasher 2024-12-21 09:05:28.910407829 +0000 @@ -30,2 +30,3 @@ Requires: libstdc++.so.6(CXXABI_1.3) +Requires: libstdc++.so.6(CXXABI_1.3.15) Requires: libstdc++.so.6(CXXABI_1.3.8) @@ -47,6 +48,6 @@ Requires: rpmlib(PayloadIsLzma) -Provides: libtorrent.so.22 = set:odI9Ia1upmeEk0cP4RZq2iAA9vvZqU1qoFNUgFz0pmkcWZmKKa99Y464conwYSDB2caO4EMw4HOtoLKMBygSPYkvnf8FnUWhYom3TyHmnaFyCB30pZ9Sdh5j8iw4J95ZxFtlub4GAQSw78y66ZIewhTZ0SOPeDaykqGj1I66LOZ3Y39HxhKk75va1XJBdrb1k2gZvrPEibYzZkr81r0OhZgwZa0g7g3YOLfG95P1c5Z7m4PxQQ34piGlxgxfqgf1QdfHpcNmqmm4MG0g5EXAgudW6B6l4niku9liDi9gLuis4RjwTs0FpKpCRYfcoZFXwol1CtHicsFHA1CwQb8vxJ80xecvKZ4OwymJCgcJlSKtu3rhF59woeVi2GM2Zf2UvRZDvjnH3bPFy2cL14ayEZ3hHT9FTNgldISpZ37WeoMTy5ZtWXscKPRMlPGCscsPbk4bw44Hoacz07RgX48NCwGcUWaLPJ3sdWkQPJh2r65pHu7tDsBGOAwha8Qoxig0cvog9ZDZ9zyyPFRGaJxm7RZaHU1vy0yRsbGIS4JdzlRodUzayJyRfy09kC6bJTZHjFY08KCXQJtMq5g50iQSGZa2i85DarBsGjXjz9KldWaK24pfuw6rA0yBYDThC6LNMgliZi9FBzb3uNUu1wndUOw1xjoZ2OLZq3l4tHe5ZDpKdN05zXyuN5zTzX6y8iZLnEs8JxS8wZJTLyRKqFN8su9HUR8dXSIE965lW6wBtucENBM8T0mVMTWLfkUaUddhfSG7E8glOZ6vdimjpUQ29eiwVuJcuSxZ8bIvkOF9KYPZiE0yBsuA958w9FUAbbWoKPGl4AKm0Ad2hxv3o3EUTxKcNgivxWxxlZlYpYgwi9Aao895GDUHNA109bCwvaZjN7qwWsBoiVaCObzwuoPERGQsQjpdngidrZn5MWTKF82zdJCi0G8smuZk0LVrau2ruZr6p2sC1KqDOt1WeV37aLVPI03EgsgyCZjUnIG6ogDp1E5G0VpoY3jLYRfQArL2UDwKQynPz8prEBF9YVeM5Eb1N6ZwgT7QnwXuPEn80Mu1G6yA36vesGW6PXWCg2YVFIqevZg898pnbMWMWQruJUVXrzgTbRw3fx37Yfe4J6bjm9eIsuqNgg09cr6R98QY2g4cq4T1KbB3R5u9WQon82l5ZdoDabQFMROZmwvtZmxE70V7NYYHJuewO6CfkpNw3Xhsq5RZqieExidZjr9r7x2x2OBR72OGQ0f1Nhwl5ZzI9NQuzo79BZ22TZ6KdanGfxaBRJagmDrTpRYLVSgqoaSJSEdDR4fHKnaHxSHqtl1ol0mvaxu4gcf2ipR46sgqHEJOIWNClEVeZ3Bsa4qWVSM4Pi238MZhNhiexl0EoWfFEw88v4g3xRhuBLCwQbYbmi9M9Q861EN4Ra1tjIqD09IhgN1Mb6N7wBPyAPvTbCgZ7wvc71xjTLr4C6oMl2ktwZHrCw5oBwCNnYtxEMtzCSOYPoAbFrcKmGKaj6MLtr8l6UgWp1ZB9uITm8kgilKqSocRGsZzRGPlHvi1LJP3B0I0YrP9pBGmEJyMM0039jaEIZ72qf2HQlFjhu5EX0uQts1igu3olLJCB2KWZ1gNIwMsJDbvLXmFg1szos4DA1ENlYqNn5J5R0szI2W8OGCHO5E5RvmAopwHseNLqJaW6k099Zc68sta1EokksnMyhk0NYZEW3nRkf0fcS1QhHex031r84ZhKZg8GFJZ7yP1UgKUBH0YYkZ0WU93swy1yv5cTdObQjdl9ZkDxfVCx1ll9iPilxVPtPgmZ5ZsJiK74kUYs0GoPkVL3dZ5grNbN5s9R5n00gnUo2atZs1gSUCMffN2Bl5iqLqrF0vBRZteIfqc8HDqcZjTX7QPCGArxT5vOMTcypqTSZyOy1MZkmqINeMq5dvykWLNxzw3Tm785Uc3EZgcxuaisLaf9usXOCim2kcbQ4Z3ZiE50cevr9fZtGGzpayb6URi7SyBssfkoIuzacq9H32b3xmMxes9X85MdDuMmyWj068TdSnLfyOccdAefhiyu6JP1TP6MZ5ZxM39I1Y9OIsnQnO7hi1OBBi0wcwqBG5J9pDDaiggC2u309kVhmZ5E0ED1j4oW6iBBMAxkdtAr4J0hln1ojxh0FyU9U709ksFujVvbg89TFyadwslzX4QAD1xwDeE5P3WfFm8kFJIuI8iqz4H4NutiFC1CgHxQoYqGdor3COoRVzJW1A4GbwOsKczIfxU4q5wKxoZvFPNBXvqli5IBLuUggibBwjyeB44hFcAPrKAbun6AhkcAk1 +Provides: libtorrent.so.22 = set:odI9Ia1upmeEk0cP4RZq2iAA9vvZqU1qoFNUgFz0pmkcWZmKKa99Y464conwYSDB2caO4EMw4HOtoLKMBygSPYkvnf8FnUWhYom3TyHmnaFyCB30pZ9Sdh5j8iw4J95ZxFtlub4GAmnHYI2wLFNfX06tT3SOPeDaykqGj1I66LOZ3Y39HxhKk75va1XJBdrb1k2gZvrPEibYzZkr81r0OhZgwZa0g7g3YOLfG95P1c5Z7m4PxQQ34piGlxgxfqgf1QdfHpcNmqmm4Sh4D1k1We9AnzKhFh5NB4BniBQFk2QHD47hZ4wTs0FpKpCRYfcoZFXwol1CtHicsFHA1CwQb8vxJ80xecvKZ4OwxRwEmj8CSarTeLxJEQy40iv4kx5Wv1YLWZHLFHRxBVkh1CT025hQZpERXAQXoEG6mXIZp3t7cUrN2ZCZdVosDHxHCldVoUCnE8mYaNmBlc5ChwzqEt2Aojgl6stBTVS1K6taWVS8xdzyIlLzKjKilpiM854qIg980CfMuGZshhNVQqlBSgHzWut5fUj4gICrhBRCEJpIG6H1vkhIlIZhhw4ajzBSXZJFku04nPtWSeoJ2E20cZqn5AgaelSaVkDSD6jsHqQls5cMYEeuw6rA0yB8noqY633l9Vb9FBzbzULvcKn0Ul3KcogU4mL8ZGLekhQJWkYvpKdN05zXyuN5zTzX6y8iZIoiq3Jh0ZHLv5HtRizaKIynzQIrPyCokkFr0mSVNw6n2zs3oB3vHZK35K2ujjQzJW1a2kBsLZ5zA58ZxAU81CXROUp7SzbIvkON5cXbE0yBsuA958w9FUAbbWoKPGl4AKm0Ad2hxv3o3EUTxKcNgivxWxxlZlYpYgQ7ga4i5cAA2RjYRoO0wA5jMf5ZFU3dgtKicFs5jVBhgfIpQqlqeWFICb8FCdZH2oZbtjh46rqdB0khUIYY9wTYd5fxdfZBzc1eP0nJjVK0tDYx3BTYpmw1k8e8hjZxYbml3cEPI0Q2lwYccZhCuVHvE9Tu5Mf1tF5LC7hOSgbjjUPtwbgn2ydZhwKfEL0TZ66Z240oL0l3hO1zf7eltzVttj81ZsjpRsZs7gigOKmwRxRFTYqNPTT6xKnG1DjFkTx3Zns8qdmCIisoVYQyxw0ioScGjgEV5w8oQ8K3sna7GbYiQFNKg4GaWrIjB5WkUqpv3YHPT2hf0OfyVVnrZc1kSMYxab6sofyjHESnBsg3BqYDJAJzgxg1VOW31plqwDwU8MGyZxSAoqLhIzAOuhMgJhViZ9gBOWm58HPJXIqZnPJxQMkIrJhreH9umtLkm3JnRWG2MG0IZk9Qz0yVhgaHCMIZ8mqr5JlClfSI2dTFvaVk8QQPJx9CB46gwZ3yzAOFZy0eaglBf2ExMW8LOnjgW5ZlIAiwjEhc2g0JrylX48xd2ae0uN8ZgMOphOVLX5jEZjMfCzwMFXTd2j3cUa1GeMZJdjM2IigPUbZu2hxX6dJBVDN8niTosJktlCcwvXSgGcMxQP2ZriYoLJgEwAGsRINoGlVZnGlDHmZAaUJtuE4w5wvre9HkR2Jl4660o8pi1BJZAgXhoBKataOH0t7MzKzbg2Or0HWJRIkMlLfwyp1xVqfnZutTa5awr4zzUAcwDZLKynbZqySyq0Khm1t4plPlV2QyWfbiIcMleDUnJm5t3awAAuS0xH3i755T5Io45gcZLEZgnRkf0fcS1QhHex031r84Zh0UAFJZ7yP1UgKUBH0YYkZ0WU93swy1yv5cTdObQjdl9ZkDxfVCx1ll9iPilxVPtPgmZ5ZsJiK74kUYs0GoPkVL3dZ5grNbN5s9R5n00gnUo2atZs1gSUCMffN2Bl5iqLqrF0vBRZteIfqc8HDqcZjTX7QPCGArxT5vOMTcypqT6nZ0wZ9IQQrZGuwRaqZkAiZJUMhMxrH3A2sC1kvElXIZ4hyXlV9NzrnSkOiwypxCEvY5Q206DLJA7ZClRNc5N53YqF3rNieK7acmLh56JAR1xBxgbUg7KAtA2UCjfobhZ90cgKrILuv4Bpoq8tuyA4ZcEteUuS0KLZjw7io3UjApVKELAfyA2AbbB00p0RalbqjOeflAwwc5Y60iEOzIWbk0QPw92ou9bx93FqW8T8q1yGwU561AayDwv0AgNBWdBZJ24iOtGEiNGNt2qOPwgMj7QyV1Z7iJgEirpZ85hirAoB8SHjaRcM4qdA6znjJ1rrMk6HevIlfwAgt1kCPBpAZ9gs2J2gTgcZLQVUOZfQGAaobvZ072u9rEk2e9Wkig4BOgYFUyTB1p4539l Provides: libtorrent22 = 3:0.14.0-alt1:sisyphus+359908.300.4.1 File: /usr/lib/libtorrent.so.22 120777 root:root libtorrent.so.22.0.0 -File: /usr/lib/libtorrent.so.22.0.0 100644 root:root d6d3e80f150540c392b4cc256129cb26 +File: /usr/lib/libtorrent.so.22.0.0 100644 root:root 1e123546ea39d7ca116481e0ec4dc67c File: /usr/share/doc/libtorrent22-0.14.0 40755 root:root @@ -57,2 +58,2 @@ File: /usr/share/doc/libtorrent22-0.14.0/README 100644 root:root 3cb02f04d50cb4e57dde8600473074d6 -RPMIdentity: 4fe8686698e83cca56675f7f6865660a2d7404881cb1519c6deaa5f3551a1a21f731973268da819a721766b0b09252b34d724cc5d31e30291eaf106d13c0e5e4 +RPMIdentity: e1555923b3645c52debe2e459071d934e940544facf5c9825e420b756a510711ac8927091f5db64691ae730cb4479bb62000693fcb11c47000906d70485863db --- libtorrent22-debuginfo-0.14.0-alt1.i586.rpm.repo 2024-10-16 14:25:43.000000000 +0000 +++ libtorrent22-debuginfo-0.14.0-alt1.i586.rpm.hasher 2024-12-21 09:05:28.977409030 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/0a 40755 root:root -/usr/lib/debug/.build-id/0a/d15b37e33c9eefe7a4deb36b8f51215fe7a843 120777 root:root ../../../libtorrent.so.22.0.0 -/usr/lib/debug/.build-id/0a/d15b37e33c9eefe7a4deb36b8f51215fe7a843.debug 120777 root:root ../../usr/lib/libtorrent.so.22.0.0.debug +/usr/lib/debug/.build-id/9b 40755 root:root +/usr/lib/debug/.build-id/9b/ac143111af568d18baae4c7bab8d248c259ece 120777 root:root ../../../libtorrent.so.22.0.0 +/usr/lib/debug/.build-id/9b/ac143111af568d18baae4c7bab8d248c259ece.debug 120777 root:root ../../usr/lib/libtorrent.so.22.0.0.debug /usr/lib/debug/usr/lib/libtorrent.so.22.0.0.debug 100644 root:root @@ -288,6 +288,6 @@ Provides: libtorrent22-debuginfo = 3:0.14.0-alt1:sisyphus+359908.300.4.1 -File: /usr/lib/debug/.build-id/0a 40755 root:root -File: /usr/lib/debug/.build-id/0a/d15b37e33c9eefe7a4deb36b8f51215fe7a843 120777 root:root ../../../libtorrent.so.22.0.0 -File: /usr/lib/debug/.build-id/0a/d15b37e33c9eefe7a4deb36b8f51215fe7a843.debug 120777 root:root ../../usr/lib/libtorrent.so.22.0.0.debug -File: /usr/lib/debug/usr/lib/libtorrent.so.22.0.0.debug 100644 root:root fecf221a68f42b67528a3cb204d53a79 +File: /usr/lib/debug/.build-id/9b 40755 root:root +File: /usr/lib/debug/.build-id/9b/ac143111af568d18baae4c7bab8d248c259ece 120777 root:root ../../../libtorrent.so.22.0.0 +File: /usr/lib/debug/.build-id/9b/ac143111af568d18baae4c7bab8d248c259ece.debug 120777 root:root ../../usr/lib/libtorrent.so.22.0.0.debug +File: /usr/lib/debug/usr/lib/libtorrent.so.22.0.0.debug 100644 root:root c5d13ae804f5f2272efeebd25eff5a83 File: /usr/lib/debug/usr/lib/libtorrent.so.22.debug 120777 root:root libtorrent.so.22.0.0.debug @@ -567,2 +567,2 @@ File: /usr/src/debug/libtorrent-0.14.0/src/utils/sha1.h 100644 root:root c5ab36fd7c1facc92bdff1cd642f5a54 -RPMIdentity: 12fbdae5a151dbc2bc6daf4f6959903400c569af928a38d05cb51586c2bc611afd372d0562c592a2c43967a98bc5e2bcaec1ea60619d0d1d017d09a71598bd09 +RPMIdentity: bb4d0ad561b0cf274d6d55168e385ab5cc36866c3d9a9a91bdbf63ea010c1632c9844b02d7d20adb6675b3160dfdae7da11308cb86b2d0819ae8035ec3b28fab