<86>Dec 19 05:11:58 userdel[1985340]: delete user 'rooter' <86>Dec 19 05:11:58 userdel[1985340]: removed group 'rooter' owned by 'rooter' <86>Dec 19 05:11:58 userdel[1985340]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 19 05:11:58 groupadd[1985361]: group added to /etc/group: name=rooter, GID=1877 <86>Dec 19 05:11:58 groupadd[1985361]: group added to /etc/gshadow: name=rooter <86>Dec 19 05:11:58 groupadd[1985361]: new group: name=rooter, GID=1877 <86>Dec 19 05:11:58 useradd[1985380]: new user: name=rooter, UID=1877, GID=1877, home=/root, shell=/bin/bash, from=none <86>Dec 19 05:11:58 userdel[1985401]: delete user 'builder' <86>Dec 19 05:11:58 userdel[1985401]: removed group 'builder' owned by 'builder' <86>Dec 19 05:11:58 userdel[1985401]: removed shadow group 'builder' owned by 'builder' <86>Dec 19 05:11:58 groupadd[1985415]: group added to /etc/group: name=builder, GID=1878 <86>Dec 19 05:11:58 groupadd[1985415]: group added to /etc/gshadow: name=builder <86>Dec 19 05:11:58 groupadd[1985415]: new group: name=builder, GID=1878 <86>Dec 19 05:11:58 useradd[1985429]: new user: name=builder, UID=1878, GID=1878, home=/usr/src, shell=/bin/bash, from=none <13>Dec 19 05:12:01 rpmi: libsigc++2-2.12.1-alt1 sisyphus+331046.200.2.1 1696511642 installed <13>Dec 19 05:12:01 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Dec 19 05:12:01 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 19 05:12:02 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 19 05:12:02 rpmi: cppunit-1.15.1-alt1 sisyphus+346115.200.2.1 1716284184 installed <13>Dec 19 05:12:02 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 19 05:12:02 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Dec 19 05:12:02 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 19 05:12:02 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 19 05:12:02 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 19 05:12:02 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 19 05:12:02 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 19 05:12:02 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 19 05:12:02 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 19 05:12:02 rpmi: libssl-devel-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 19 05:12:02 rpmi: cppunit-devel-1.15.1-alt1 sisyphus+346115.200.2.1 1716284184 installed <13>Dec 19 05:12:02 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139222 installed <13>Dec 19 05:12:02 rpmi: libsigc++2-devel-2.12.1-alt1 sisyphus+331046.200.2.1 1696511642 installed <13>Dec 19 05:12:02 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed Building target platforms: x86_64 Building for target x86_64 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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.32685 + 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.32685 + 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 ' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 ' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 ' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 ' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 ' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' ' + 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' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --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... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-alt-linux-gcc... x86_64-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to enable C11 features... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking dependency style of x86_64-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 x86_64-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 x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-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 x86_64-alt-linux-file... no checking for file... file checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-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 x86_64-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 x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) 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 x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether the compiler supports GNU C++... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking for x86_64-alt-linux-g++ option to enable C++11 features... none needed checking dependency style of x86_64-alt-linux-g++... none checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking for ld used by x86_64-alt-linux-g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-g++ static flag -static works... no checking if x86_64-alt-linux-g++ supports -c -o file.o... yes checking if x86_64-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) 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... no checking whether byte ordering is bigendian... no checking whether x86_64-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 " checking for user-defined CXXFLAGS... user-defined "-pipe -frecord-gcc-switches -Wall -g -O2 " 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... 8 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... x86_64-alt-linux-gcc -E checking whether x86_64-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 x86_64-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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o error.lo error.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o event.lo event.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o http.lo http.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o exceptions.lo exceptions.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o object_static_map.lo object_static_map.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o poll_kqueue.lo poll_kqueue.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o bitfield.lo bitfield.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o path.lo path.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o hash_string.lo hash_string.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o poll_epoll.lo poll_epoll.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o chunk_manager.lo chunk_manager.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o connection_manager.lo connection_manager.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o poll_select.lo poll_select.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o dht_manager.lo dht_manager.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker.lo tracker.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o rate.lo rate.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o throttle.lo throttle.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/block_list.lo data/block_list.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/download_data.lo data/download_data.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/file.lo data/file.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o object.lo object.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker_controller.lo tracker_controller.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/file_list_iterator.lo data/file_list_iterator.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o download.lo download.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/chunk_utils.lo data/chunk_utils.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from data/chunk_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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/file_manager.lo data/file_manager.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_address_key.lo net/socket_address_key.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o object_stream.lo object_stream.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/file_utils.lo data/file_utils.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/client_info.lo peer/client_info.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker_list.lo tracker_list.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/address_info.lo net/address_info.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/block.lo data/block.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent.lo torrent.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o download/choke_group.lo download/choke_group.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h: In instantiation of 'rak::priority_queue::iterator rak::priority_queue::find(const Key&) [with Key = rak::priority_item*; Value = rak::priority_item*; Compare = rak::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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_event.lo net/socket_event.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/transfer_list.lo data/transfer_list.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/fd.lo net/fd.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/utils.lo net/utils.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_address.lo net/socket_address.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/client_list.lo peer/client_list.cc libtool: compile: x86_64-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 -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*, long 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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o download/download_manager.lo download/download_manager.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ download/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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/peer_info.lo peer/peer_info.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/random.lo utils/random.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/signal_bitfield.lo utils/signal_bitfield.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/file_list.lo data/file_list.cc libtool: compile: x86_64-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 -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 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 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 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 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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/directory_events.lo utils/directory_events.cc libtool: compile: x86_64-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 -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 'long 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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/peer.lo peer/peer.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./../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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o download/choke_queue.lo download/choke_queue.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/thread_interrupt.lo utils/thread_interrupt.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/thread_base.lo utils/thread_base.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/log_buffer.lo utils/log_buffer.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/peer_list.lo peer/peer_list.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/option_strings.lo utils/option_strings.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o download/resource_manager.lo download/resource_manager.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./../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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o peer/connection_list.lo peer/connection_list.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./../torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./../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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/uri_parser.lo utils/uri_parser.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/log.lo utils/log.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/resume.lo utils/resume.cc libtool: compile: x86_64-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 -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 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 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 x86_64-alt-linux-g++ -std=c++14 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/chunk_part.lo data/chunk_part.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/socket_file.lo data/socket_file.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o thread_disk.lo thread_disk.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o globals.lo globals.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/memory_chunk.lo data/memory_chunk.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o thread_main.lo thread_main.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/hash_chunk.lo data/hash_chunk.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/hash_queue_node.lo data/hash_queue_node.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/chunk.lo data/chunk.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/hash_check_queue.lo data/hash_check_queue.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_bucket.lo dht/dht_bucket.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/hash_torrent.lo data/hash_torrent.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_node.lo dht/dht_node.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o download/chunk_statistics.lo download/chunk_statistics.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/chunk_list.lo data/chunk_list.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o download/chunk_selector.lo download/chunk_selector.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o download/delegator.lo download/delegator.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_tracker.lo dht/dht_tracker.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/hash_queue.lo data/hash_queue.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_transaction.lo dht/dht_transaction.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o download/available_list.lo download/available_list.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o manager.lo manager.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from data/chunk_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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_datagram.lo net/socket_datagram.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_base.lo net/socket_base.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/listen.lo net/listen.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_fd.lo net/socket_fd.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_stream.lo net/socket_stream.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_set.lo net/socket_set.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/address_list.lo net/address_list.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/throttle_list.lo net/throttle_list.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/socket_listen.lo net/socket_listen.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/handshake_encryption.lo protocol/handshake_encryption.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/throttle_internal.lo net/throttle_internal.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/initial_seed.lo protocol/initial_seed.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from 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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/handshake_manager.lo protocol/handshake_manager.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from 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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/peer_factory.lo protocol/peer_factory.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o download/download_wrapper.lo download/download_wrapper.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/peer_connection_metadata.lo protocol/peer_connection_metadata.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from 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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/sha_fast.lo utils/sha_fast.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_router.lo dht/dht_router.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/extensions.lo protocol/extensions.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from ./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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o dht/dht_server.lo dht/dht_server.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker/tracker_dht.lo tracker/tracker_dht.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/handshake.lo protocol/handshake.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ 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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o download/download_main.lo download/download_main.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/instrumentation.lo utils/instrumentation.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/request_list.lo protocol/request_list.cc libtool: compile: x86_64-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 -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 'long int'} and 'size_t' {aka 'long 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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o download/download_constructor.lo download/download_constructor.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ download/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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o utils/diffie_hellman.lo utils/diffie_hellman.cc libtool: compile: x86_64-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 -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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/peer_connection_leech.lo protocol/peer_connection_leech.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ In file included from 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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/peer_connection_base.lo protocol/peer_connection_base.cc libtool: compile: x86_64-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 -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 unsigned int]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/bits/stl_function.h:1398:5: note: declared here 1398 | mem_fun(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~ ./torrent/data/file_list.h:202:73: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_t; _Tp = long unsigned int]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 202 | return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker/tracker_udp.lo tracker/tracker_udp.cc libtool: compile: x86_64-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 -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=compile x86_64-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 -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker/tracker_http.lo tracker/tracker_http.cc libtool: compile: x86_64-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 -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=link x86_64-alt-linux-g++ -std=c++14 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -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 x86_64-alt-linux-g++ -std=c++14 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -version-info 22:0:0 -L/usr/lib -L/usr/lib -o libtorrent.la -rpath /usr/lib64 globals.lo manager.lo thread_disk.lo thread_main.lo torrent/libtorrent_torrent.la libtorrent_other.la -lpthread -lcppunit -lz -lcrypto libtool: link: x86_64-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib64/gcc/x86_64-alt-linux/14/../../../../lib64/crti.o /usr/lib64/gcc/x86_64-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/lib64/gcc/x86_64-alt-linux/14 -L/usr/lib64/gcc/x86_64-alt-linux/14/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib64/gcc/x86_64-alt-linux/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib64/gcc/x86_64-alt-linux/14/crtendS.o /usr/lib64/gcc/x86_64-alt-linux/14/../../../../lib64/crtn.o -g -O2 -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.47347 + 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/lib64' /bin/sh ../libtool --mode=install /usr/libexec/rpm-build/install -p libtorrent.la '/usr/src/tmp/libtorrent-buildroot/usr/lib64' libtool: install: /usr/libexec/rpm-build/install -p .libs/libtorrent.so.22.0.0 /usr/src/tmp/libtorrent-buildroot/usr/lib64/libtorrent.so.22.0.0 libtool: install: (cd /usr/src/tmp/libtorrent-buildroot/usr/lib64 && { 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/lib64 && { 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/lib64/libtorrent.la libtool: warning: remember to run 'libtool --finish /usr/lib64' 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/lib64/pkgconfig' /usr/libexec/rpm-build/install -p -m 644 libtorrent.pc '/usr/src/tmp/libtorrent-buildroot/usr/lib64/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/lib64/libtorrent.la' mode of './usr/lib64/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/lib64/pkgconfig/libtorrent.pc: Cflags: '-I${includedir}' --> '' /usr/lib64/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/lib64: (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 Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.23931 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libtorrent-0.14.0 + make -j16 check Making check in src Making check in torrent make[2]: Nothing to be done for 'check'. make[2]: Nothing to be done for 'check-am'. Making check in test make LibTorrent_Test_Torrent_Net LibTorrent_Test_Torrent_Utils LibTorrent_Test_Torrent LibTorrent_Test_Data LibTorrent_Test_Net LibTorrent_Test_Tracker LibTorrent_Test make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Torrent-test_thread.o `test -f 'helpers/test_thread.cc' || echo './'`helpers/test_thread.cc helpers/test_thread.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "config.h" | ^~~~~~ helpers/test_thread.cc:3:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 3 | #import "test_thread.h" | ^~~~~~ In file included from helpers/test_thread.cc:3: helpers/test_thread.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "torrent/utils/thread_base.h" | ^~~~~~ In file included from helpers/test_thread.h:1: ../src/torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ helpers/test_thread.cc:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ helpers/test_thread.cc:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ helpers/test_thread.cc:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import "thread_disk.h" | ^~~~~~ helpers/test_thread.cc:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import "torrent/exceptions.h" | ^~~~~~ helpers/test_thread.cc:10:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 10 | #import "torrent/poll_select.h" | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Torrent-test_fixture.o `test -f 'helpers/test_fixture.cc' || echo './'`helpers/test_fixture.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Data-test_thread.o `test -f 'helpers/test_thread.cc' || echo './'`helpers/test_thread.cc helpers/test_thread.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "config.h" | ^~~~~~ helpers/test_thread.cc:3:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 3 | #import "test_thread.h" | ^~~~~~ In file included from helpers/test_thread.cc:3: helpers/test_thread.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "torrent/utils/thread_base.h" | ^~~~~~ In file included from helpers/test_thread.h:1: ../src/torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ helpers/test_thread.cc:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ helpers/test_thread.cc:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ helpers/test_thread.cc:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import "thread_disk.h" | ^~~~~~ helpers/test_thread.cc:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import "torrent/exceptions.h" | ^~~~~~ helpers/test_thread.cc:10:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 10 | #import "torrent/poll_select.h" | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Net-test_fixture.o `test -f 'helpers/test_fixture.cc' || echo './'`helpers/test_fixture.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o LibTorrent_Test_Torrent_Net-main.o `test -f 'main.cc' || echo './'`main.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Data-test_fixture.o `test -f 'helpers/test_fixture.cc' || echo './'`helpers/test_fixture.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o LibTorrent_Test_Torrent-main.o `test -f 'main.cc' || echo './'`main.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o LibTorrent_Test_Data-main.o `test -f 'main.cc' || echo './'`main.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o LibTorrent_Test_Net-main.o `test -f 'main.cc' || echo './'`main.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o LibTorrent_Test_Torrent_Utils-main.o `test -f 'main.cc' || echo './'`main.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Torrent-progress_listener.o `test -f 'helpers/progress_listener.cc' || echo './'`helpers/progress_listener.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Net-progress_listener.o `test -f 'helpers/progress_listener.cc' || echo './'`helpers/progress_listener.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Data-progress_listener.o `test -f 'helpers/progress_listener.cc' || echo './'`helpers/progress_listener.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Net-test_thread.o `test -f 'helpers/test_thread.cc' || echo './'`helpers/test_thread.cc helpers/test_thread.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "config.h" | ^~~~~~ helpers/test_thread.cc:3:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 3 | #import "test_thread.h" | ^~~~~~ In file included from helpers/test_thread.cc:3: helpers/test_thread.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "torrent/utils/thread_base.h" | ^~~~~~ In file included from helpers/test_thread.h:1: ../src/torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ helpers/test_thread.cc:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ helpers/test_thread.cc:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ helpers/test_thread.cc:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import "thread_disk.h" | ^~~~~~ helpers/test_thread.cc:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import "torrent/exceptions.h" | ^~~~~~ helpers/test_thread.cc:10:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 10 | #import "torrent/poll_select.h" | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Tracker-test_thread.o `test -f 'helpers/test_thread.cc' || echo './'`helpers/test_thread.cc helpers/test_thread.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "config.h" | ^~~~~~ helpers/test_thread.cc:3:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 3 | #import "test_thread.h" | ^~~~~~ In file included from helpers/test_thread.cc:3: helpers/test_thread.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "torrent/utils/thread_base.h" | ^~~~~~ In file included from helpers/test_thread.h:1: ../src/torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ helpers/test_thread.cc:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ helpers/test_thread.cc:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ helpers/test_thread.cc:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import "thread_disk.h" | ^~~~~~ helpers/test_thread.cc:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import "torrent/exceptions.h" | ^~~~~~ helpers/test_thread.cc:10:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 10 | #import "torrent/poll_select.h" | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o LibTorrent_Test_Tracker-main.o `test -f 'main.cc' || echo './'`main.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test-test_thread.o `test -f 'helpers/test_thread.cc' || echo './'`helpers/test_thread.cc helpers/test_thread.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "config.h" | ^~~~~~ helpers/test_thread.cc:3:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 3 | #import "test_thread.h" | ^~~~~~ In file included from helpers/test_thread.cc:3: helpers/test_thread.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "torrent/utils/thread_base.h" | ^~~~~~ In file included from helpers/test_thread.h:1: ../src/torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ helpers/test_thread.cc:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ helpers/test_thread.cc:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ helpers/test_thread.cc:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import "thread_disk.h" | ^~~~~~ helpers/test_thread.cc:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import "torrent/exceptions.h" | ^~~~~~ helpers/test_thread.cc:10:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 10 | #import "torrent/poll_select.h" | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test-progress_listener.o `test -f 'helpers/progress_listener.cc' || echo './'`helpers/progress_listener.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Tracker-progress_listener.o `test -f 'helpers/progress_listener.cc' || echo './'`helpers/progress_listener.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test-test_fixture.o `test -f 'helpers/test_fixture.cc' || echo './'`helpers/test_fixture.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Tracker-test_fixture.o `test -f 'helpers/test_fixture.cc' || echo './'`helpers/test_fixture.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Torrent_Net-test_fixture.o `test -f 'helpers/test_fixture.cc' || echo './'`helpers/test_fixture.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o LibTorrent_Test-main.o `test -f 'main.cc' || echo './'`main.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Torrent_Net-progress_listener.o `test -f 'helpers/progress_listener.cc' || echo './'`helpers/progress_listener.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Torrent_Net-test_thread.o `test -f 'helpers/test_thread.cc' || echo './'`helpers/test_thread.cc helpers/test_thread.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "config.h" | ^~~~~~ helpers/test_thread.cc:3:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 3 | #import "test_thread.h" | ^~~~~~ In file included from helpers/test_thread.cc:3: helpers/test_thread.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "torrent/utils/thread_base.h" | ^~~~~~ In file included from helpers/test_thread.h:1: ../src/torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ helpers/test_thread.cc:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ helpers/test_thread.cc:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ helpers/test_thread.cc:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import "thread_disk.h" | ^~~~~~ helpers/test_thread.cc:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import "torrent/exceptions.h" | ^~~~~~ helpers/test_thread.cc:10:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 10 | #import "torrent/poll_select.h" | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Torrent_Utils-test_fixture.o `test -f 'helpers/test_fixture.cc' || echo './'`helpers/test_fixture.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Torrent_Utils-test_thread.o `test -f 'helpers/test_thread.cc' || echo './'`helpers/test_thread.cc helpers/test_thread.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "config.h" | ^~~~~~ helpers/test_thread.cc:3:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 3 | #import "test_thread.h" | ^~~~~~ In file included from helpers/test_thread.cc:3: helpers/test_thread.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "torrent/utils/thread_base.h" | ^~~~~~ In file included from helpers/test_thread.h:1: ../src/torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ helpers/test_thread.cc:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ helpers/test_thread.cc:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ helpers/test_thread.cc:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import "thread_disk.h" | ^~~~~~ helpers/test_thread.cc:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import "torrent/exceptions.h" | ^~~~~~ helpers/test_thread.cc:10:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 10 | #import "torrent/poll_select.h" | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Torrent_Utils-progress_listener.o `test -f 'helpers/progress_listener.cc' || echo './'`helpers/progress_listener.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/net/LibTorrent_Test_Torrent_Net-test_fd.o `test -f 'torrent/net/test_fd.cc' || echo './'`torrent/net/test_fd.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrent_Test_Torrent_Utils-test_extents.o `test -f 'torrent/utils/test_extents.cc' || echo './'`torrent/utils/test_extents.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrent_Test_Torrent_Utils-test_log_buffer.o `test -f 'torrent/utils/test_log_buffer.cc' || echo './'`torrent/utils/test_log_buffer.cc In file included from ../src/globals.h:5, from torrent/utils/test_log_buffer.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' 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 /usr/include/cppunit/Message.h:11, from /usr/include/cppunit/Exception.h:5, from /usr/include/cppunit/TestCaller.h:4, from /usr/include/cppunit/extensions/HelperMacros.h:9, from ./helpers/test_fixture.h:4, from torrent/utils/test_log_buffer.h:1, from torrent/utils/test_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[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrent_Test_Torrent_Utils-test_option_strings.o `test -f 'torrent/utils/test_option_strings.cc' || echo './'`torrent/utils/test_option_strings.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrent_Test_Torrent_Utils-test_log.o `test -f 'torrent/utils/test_log.cc' || echo './'`torrent/utils/test_log.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrent_Test_Torrent_Utils-test_signal_bitfield.o `test -f 'torrent/utils/test_signal_bitfield.cc' || echo './'`torrent/utils/test_signal_bitfield.cc In file included from torrent/utils/test_signal_bitfield.cc:5: ./helpers/test_thread.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "torrent/utils/thread_base.h" | ^~~~~~ In file included from ./helpers/test_thread.h:1: ../src/torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ torrent/utils/test_signal_bitfield.cc: In member function 'void test_signal_bitfield::test_threaded()': torrent/utils/test_signal_bitfield.cc:110:29: warning: 'new' of type 'test_thread' with extended alignment 128 [-Waligned-new=] 110 | test_thread* thread = new test_thread; | ^~~~~~~~~~~ torrent/utils/test_signal_bitfield.cc:110:29: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter torrent/utils/test_signal_bitfield.cc:110:29: note: use '-faligned-new' to enable C++17 over-aligned new support make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrent_Test_Torrent_Utils-test_thread_base.o `test -f 'torrent/utils/test_thread_base.cc' || echo './'`torrent/utils/test_thread_base.cc In file included from torrent/utils/test_thread_base.cc:5: ./helpers/test_thread.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "torrent/utils/thread_base.h" | ^~~~~~ In file included from ./helpers/test_thread.h:1: ../src/torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ torrent/utils/test_thread_base.cc: In member function 'void test_thread_base::test_basic()': torrent/utils/test_thread_base.cc:32:29: warning: 'new' of type 'test_thread' with extended alignment 128 [-Waligned-new=] 32 | test_thread* thread = new test_thread; | ^~~~~~~~~~~ torrent/utils/test_thread_base.cc:32:29: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter torrent/utils/test_thread_base.cc:32:29: note: use '-faligned-new' to enable C++17 over-aligned new support torrent/utils/test_thread_base.cc: In member function 'void test_thread_base::test_lifecycle()': torrent/utils/test_thread_base.cc:46:29: warning: 'new' of type 'test_thread' with extended alignment 128 [-Waligned-new=] 46 | test_thread* thread = new test_thread; | ^~~~~~~~~~~ torrent/utils/test_thread_base.cc:46:29: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter torrent/utils/test_thread_base.cc:46:29: note: use '-faligned-new' to enable C++17 over-aligned new support torrent/utils/test_thread_base.cc: In member function 'void test_thread_base::test_global_lock_basic()': torrent/utils/test_thread_base.cc:73:29: warning: 'new' of type 'test_thread' with extended alignment 128 [-Waligned-new=] 73 | test_thread* thread = new test_thread; | ^~~~~~~~~~~ torrent/utils/test_thread_base.cc:73:29: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter torrent/utils/test_thread_base.cc:73:29: note: use '-faligned-new' to enable C++17 over-aligned new support torrent/utils/test_thread_base.cc: In member function 'void test_thread_base::test_interrupt()': torrent/utils/test_thread_base.cc:115:29: warning: 'new' of type 'test_thread' with extended alignment 128 [-Waligned-new=] 115 | test_thread* thread = new test_thread; | ^~~~~~~~~~~ torrent/utils/test_thread_base.cc:115:29: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter torrent/utils/test_thread_base.cc:115:29: note: use '-faligned-new' to enable C++17 over-aligned new support torrent/utils/test_thread_base.cc: In member function 'void test_thread_base::test_stop()': torrent/utils/test_thread_base.cc:150:31: warning: 'new' of type 'test_thread' with extended alignment 128 [-Waligned-new=] 150 | test_thread* thread = new test_thread; | ^~~~~~~~~~~ torrent/utils/test_thread_base.cc:150:31: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter torrent/utils/test_thread_base.cc:150:31: note: use '-faligned-new' to enable C++17 over-aligned new support make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrent_Test_Torrent_Utils-test_uri_parser.o `test -f 'torrent/utils/test_uri_parser.cc' || echo './'`torrent/utils/test_uri_parser.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrent_Test_Torrent-object_test_utils.o `test -f 'torrent/object_test_utils.cc' || echo './'`torrent/object_test_utils.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Net-mock_function.o `test -f 'helpers/mock_function.cc' || echo './'`helpers/mock_function.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrent_Test_Torrent-test_http.o `test -f 'torrent/test_http.cc' || echo './'`torrent/test_http.cc In file included from torrent/test_http.cc:3: torrent/test_http.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "helpers/test_fixture.h" | ^~~~~~ In destructor 'virtual StringStream::~StringStream()', inlined from 'virtual StringStream::~StringStream()' at torrent/test_http.cc:28:42, inlined from 'void test_http::test_basic()' at torrent/test_http.cc:94:10: torrent/test_http.cc:28:42: warning: array subscript 'StringStream[0]' is partly outside array bounds of 'unsigned char [392]' [-Warray-bounds=] 28 | ~StringStream() { *m_destroyed = true; } | ^ torrent/test_http.cc: In member function 'void test_http::test_basic()': torrent/test_http.cc:80:45: note: object of size 392 allocated by 'operator new' 80 | std::stringstream* http_stream = new std::stringstream; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Torrent-mock_function.o `test -f 'helpers/mock_function.cc' || echo './'`helpers/mock_function.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrent_Test_Torrent-object_test.o `test -f 'torrent/object_test.cc' || echo './'`torrent/object_test.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Data-mock_function.o `test -f 'helpers/mock_function.cc' || echo './'`helpers/mock_function.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Tracker-mock_function.o `test -f 'helpers/mock_function.cc' || echo './'`helpers/mock_function.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Torrent_Net-mock_function.o `test -f 'helpers/mock_function.cc' || echo './'`helpers/mock_function.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test-mock_function.o `test -f 'helpers/mock_function.cc' || echo './'`helpers/mock_function.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o helpers/LibTorrent_Test_Torrent_Utils-mock_function.o `test -f 'helpers/mock_function.cc' || echo './'`helpers/mock_function.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/utils/LibTorrent_Test_Torrent_Utils-test_queue_buckets.o `test -f 'torrent/utils/test_queue_buckets.cc' || echo './'`torrent/utils/test_queue_buckets.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrent_Test_Torrent-object_static_map_test.o `test -f 'torrent/object_static_map_test.cc' || echo './'`torrent/object_static_map_test.cc In file included from ../src/protocol/extensions.h:48, from torrent/object_static_map_test.cc:6: ../src/net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 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 ../src/torrent/object.h:41, from torrent/object_static_map_test.cc:3: /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrent_Test_Torrent-object_stream_test.o `test -f 'torrent/object_stream_test.cc' || echo './'`torrent/object_stream_test.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrent_Test_Torrent-tracker_timeout_test.o `test -f 'torrent/tracker_timeout_test.cc' || echo './'`torrent/tracker_timeout_test.cc In file included from torrent/tracker_timeout_test.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 /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 torrent/tracker_timeout_test.cc:3: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o tracker/LibTorrent_Test_Tracker-test_tracker_http.o `test -f 'tracker/test_tracker_http.cc' || echo './'`tracker/test_tracker_http.cc In file included from tracker/test_tracker_http.h:3, from tracker/test_tracker_http.cc:3: ../src/torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o ../src/LibTorrent_Test-thread_disk.o `test -f '../src/thread_disk.cc' || echo './'`../src/thread_disk.cc In file included from ../src/thread_disk.h:5, from ../src/thread_disk.cc:41: ../src/torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/LibTorrent_Test_Data-test_chunk_list.o `test -f 'data/test_chunk_list.cc' || echo './'`data/test_chunk_list.cc data/test_chunk_list.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "config.h" | ^~~~~~ data/test_chunk_list.cc:3:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 3 | #import "test_chunk_list.h" | ^~~~~~ In file included from data/test_chunk_list.cc:3: data/test_chunk_list.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "helpers/test_fixture.h" | ^~~~~~ data/test_chunk_list.cc:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import "torrent/chunk_manager.h" | ^~~~~~ data/test_chunk_list.cc:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import "torrent/exceptions.h" | ^~~~~~ In file included from ../src/data/chunk_list.h:44, from data/test_chunk_list.h:18: ../src/data/chunk.h: In member function 'std::vector::iterator torrent::Chunk::find_address(void*)': ../src/data/chunk.h:124:68: warning: 'std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = bool; _Tp = torrent::ChunkPart; _Arg = void*]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/refwrap.h:39, from /usr/include/c++/14/deque:67, from /usr/include/cppunit/Message.h:11, from /usr/include/cppunit/Exception.h:5, from /usr/include/cppunit/TestCaller.h:4, from /usr/include/cppunit/extensions/HelperMacros.h:9, from ./helpers/test_fixture.h:4, from data/test_chunk_list.h:1: /usr/include/c++/14/bits/stl_function.h:1410:5: note: declared here 1410 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ ../src/data/chunk.h:124:51: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t; _Tp = void*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 124 | return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ data/test_chunk_list.cc: In function 'torrent::Chunk* func_create_chunk(uint32_t, int)': data/test_chunk_list.cc:20:46: warning: 'new' of type 'torrent::Chunk' with extended alignment 128 [-Waligned-new=] 20 | torrent::Chunk* chunk = new torrent::Chunk(); | ^ data/test_chunk_list.cc:20:46: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/test_chunk_list.cc:20:46: note: use '-faligned-new' to enable C++17 over-aligned new support make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' /bin/sh ../libtool --tag=CXX --mode=link x86_64-alt-linux-g++ -std=c++14 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -lcppunit -ldl -L/usr/lib -L/usr/lib -o LibTorrent_Test_Torrent_Utils LibTorrent_Test_Torrent_Utils-main.o helpers/LibTorrent_Test_Torrent_Utils-mock_function.o helpers/LibTorrent_Test_Torrent_Utils-progress_listener.o helpers/LibTorrent_Test_Torrent_Utils-test_fixture.o helpers/LibTorrent_Test_Torrent_Utils-test_thread.o torrent/utils/LibTorrent_Test_Torrent_Utils-test_extents.o torrent/utils/LibTorrent_Test_Torrent_Utils-test_log.o torrent/utils/LibTorrent_Test_Torrent_Utils-test_log_buffer.o torrent/utils/LibTorrent_Test_Torrent_Utils-test_option_strings.o torrent/utils/LibTorrent_Test_Torrent_Utils-test_queue_buckets.o torrent/utils/LibTorrent_Test_Torrent_Utils-test_signal_bitfield.o torrent/utils/LibTorrent_Test_Torrent_Utils-test_thread_base.o torrent/utils/LibTorrent_Test_Torrent_Utils-test_uri_parser.o ../src/libtorrent.la ../src/libtorrent_other.la ../src/torrent/libtorrent_torrent.la -lpthread -lcppunit -lz -lcrypto libtool: link: x86_64-alt-linux-g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -o .libs/LibTorrent_Test_Torrent_Utils LibTorrent_Test_Torrent_Utils-main.o helpers/LibTorrent_Test_Torrent_Utils-mock_function.o helpers/LibTorrent_Test_Torrent_Utils-progress_listener.o helpers/LibTorrent_Test_Torrent_Utils-test_fixture.o helpers/LibTorrent_Test_Torrent_Utils-test_thread.o torrent/utils/LibTorrent_Test_Torrent_Utils-test_extents.o torrent/utils/LibTorrent_Test_Torrent_Utils-test_log.o torrent/utils/LibTorrent_Test_Torrent_Utils-test_log_buffer.o torrent/utils/LibTorrent_Test_Torrent_Utils-test_option_strings.o torrent/utils/LibTorrent_Test_Torrent_Utils-test_queue_buckets.o torrent/utils/LibTorrent_Test_Torrent_Utils-test_signal_bitfield.o torrent/utils/LibTorrent_Test_Torrent_Utils-test_thread_base.o torrent/utils/LibTorrent_Test_Torrent_Utils-test_uri_parser.o -ldl -L/usr/lib ../src/.libs/libtorrent.so ../src/.libs/libtorrent_other.a ../src/torrent/.libs/libtorrent_torrent.a -lpthread -lcppunit -lz -lcrypto -pthread ld: torrent/utils/LibTorrent_Test_Torrent_Utils-test_log.o: in function `test_log::test_file_output()': /usr/src/RPM/BUILD/libtorrent-0.14.0/test/torrent/utils/test_log.cc:142:(.text+0x39b0): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' /bin/sh ../libtool --tag=CXX --mode=link x86_64-alt-linux-g++ -std=c++14 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -lcppunit -ldl -L/usr/lib -L/usr/lib -o LibTorrent_Test_Tracker LibTorrent_Test_Tracker-main.o helpers/LibTorrent_Test_Tracker-mock_function.o helpers/LibTorrent_Test_Tracker-progress_listener.o helpers/LibTorrent_Test_Tracker-test_fixture.o helpers/LibTorrent_Test_Tracker-test_thread.o tracker/LibTorrent_Test_Tracker-test_tracker_http.o ../src/libtorrent.la ../src/libtorrent_other.la ../src/torrent/libtorrent_torrent.la -lpthread -lcppunit -lz -lcrypto libtool: link: x86_64-alt-linux-g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -o .libs/LibTorrent_Test_Tracker LibTorrent_Test_Tracker-main.o helpers/LibTorrent_Test_Tracker-mock_function.o helpers/LibTorrent_Test_Tracker-progress_listener.o helpers/LibTorrent_Test_Tracker-test_fixture.o helpers/LibTorrent_Test_Tracker-test_thread.o tracker/LibTorrent_Test_Tracker-test_tracker_http.o -ldl -L/usr/lib ../src/.libs/libtorrent.so ../src/.libs/libtorrent_other.a ../src/torrent/.libs/libtorrent_torrent.a -lpthread -lcppunit -lz -lcrypto -pthread make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/LibTorrent_Test_Data-test_hash_check_queue.o `test -f 'data/test_hash_check_queue.cc' || echo './'`data/test_hash_check_queue.cc In file included from data/test_hash_check_queue.cc:3: data/test_hash_check_queue.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "helpers/test_fixture.h" | ^~~~~~ data/test_hash_check_queue.h:24:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 24 | #import | ^~~~~~ data/test_hash_check_queue.h:25:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 25 | #import | ^~~~~~ data/test_hash_check_queue.h:27:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 27 | #import "data/hash_queue_node.h" | ^~~~~~ data/test_hash_check_queue.h:28:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 28 | #import "data/hash_check_queue.h" | ^~~~~~ data/test_hash_check_queue.h:29:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 29 | #import "torrent/hash_string.h" | ^~~~~~ In file included from data/test_hash_check_queue.cc:5: ./helpers/test_thread.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "torrent/utils/thread_base.h" | ^~~~~~ In file included from ./helpers/test_thread.h:1: ../src/torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ In file included from data/test_hash_check_queue.cc:18: data/test_chunk_list.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "helpers/test_fixture.h" | ^~~~~~ data/test_hash_check_queue.cc: In member function 'void test_hash_check_queue::test_single()': data/test_hash_check_queue.cc:92:55: warning: 'new' of type 'torrent::HashChunk' with extended alignment 128 [-Waligned-new=] 92 | hash_queue.push_back(new torrent::HashChunk(handle_0)); | ^ data/test_hash_check_queue.cc:92:55: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/test_hash_check_queue.cc:92:55: note: use '-faligned-new' to enable C++17 over-aligned new support data/test_hash_check_queue.cc: In member function 'void test_hash_check_queue::test_multiple()': data/test_hash_check_queue.cc:122:63: warning: 'new' of type 'torrent::HashChunk' with extended alignment 128 [-Waligned-new=] 122 | hash_queue.push_back(new torrent::HashChunk(handles.back())); | ^ data/test_hash_check_queue.cc:122:63: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/test_hash_check_queue.cc:122:63: note: use '-faligned-new' to enable C++17 over-aligned new support data/test_hash_check_queue.cc: In member function 'void test_hash_check_queue::test_thread()': ./helpers/test_thread.h:54:64: warning: 'new' of type 'torrent::thread_disk' with extended alignment 128 [-Waligned-new=] 54 | torrent::thread_disk* thread_disk = new torrent::thread_disk(); \ | ^ data/test_hash_check_queue.cc:178:3: note: in expansion of macro 'SETUP_THREAD' 178 | SETUP_THREAD(); | ^~~~~~~~~~~~ ./helpers/test_thread.h:54:64: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter 54 | torrent::thread_disk* thread_disk = new torrent::thread_disk(); \ | ^ data/test_hash_check_queue.cc:178:3: note: in expansion of macro 'SETUP_THREAD' 178 | SETUP_THREAD(); | ^~~~~~~~~~~~ ./helpers/test_thread.h:54:64: note: use '-faligned-new' to enable C++17 over-aligned new support 54 | torrent::thread_disk* thread_disk = new torrent::thread_disk(); \ | ^ data/test_hash_check_queue.cc:178:3: note: in expansion of macro 'SETUP_THREAD' 178 | SETUP_THREAD(); | ^~~~~~~~~~~~ data/test_hash_check_queue.cc:193:58: warning: 'new' of type 'torrent::HashChunk' with extended alignment 128 [-Waligned-new=] 193 | hash_queue->push_back(new torrent::HashChunk(handle_0)); | ^ data/test_hash_check_queue.cc:193:58: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/test_hash_check_queue.cc:193:58: note: use '-faligned-new' to enable C++17 over-aligned new support make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o rak/LibTorrent_Test-allocators_test.o `test -f 'rak/allocators_test.cc' || echo './'`rak/allocators_test.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrent_Test_Torrent-tracker_list_features_test.o `test -f 'torrent/tracker_list_features_test.cc' || echo './'`torrent/tracker_list_features_test.cc In file included from torrent/tracker_list_features_test.cc:6: ../src/net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from torrent/tracker_list_features_test.cc:3: /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ../src/globals.h:5, from torrent/tracker_list_features_test.cc:8: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("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[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o data/LibTorrent_Test_Data-test_hash_queue.o `test -f 'data/test_hash_queue.cc' || echo './'`data/test_hash_queue.cc data/test_hash_queue.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "config.h" | ^~~~~~ data/test_hash_queue.cc:3:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 3 | #import "test_hash_queue.h" | ^~~~~~ data/test_hash_queue.cc:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import "helpers/test_thread.h" | ^~~~~~ In file included from data/test_hash_queue.cc:5: ./helpers/test_thread.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "torrent/utils/thread_base.h" | ^~~~~~ In file included from ./helpers/test_thread.h:1: ../src/torrent/utils/thread_base.h:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ ../src/torrent/utils/thread_base.h:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ data/test_hash_queue.cc:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 6 | #import "helpers/test_utils.h" | ^~~~~~ data/test_hash_queue.cc:8:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 8 | #import | ^~~~~~ data/test_hash_queue.cc:9:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 9 | #import | ^~~~~~ data/test_hash_queue.cc:11:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 11 | #import "data/hash_queue.h" | ^~~~~~ data/test_hash_queue.cc:12:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 12 | #import "data/hash_queue_node.h" | ^~~~~~ data/test_hash_queue.cc:13:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 13 | #import "torrent/chunk_manager.h" | ^~~~~~ data/test_hash_queue.cc:14:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 14 | #import "torrent/exceptions.h" | ^~~~~~ data/test_hash_queue.cc:15:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 15 | #import "torrent/hash_string.h" | ^~~~~~ data/test_hash_queue.cc:16:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 16 | #import "torrent/poll_select.h" | ^~~~~~ data/test_hash_queue.cc:17:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 17 | #import "globals.h" | ^~~~~~ data/test_hash_queue.cc:18:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 18 | #import "thread_disk.h" | ^~~~~~ data/test_hash_queue.cc:20:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 20 | #import "test_chunk_list.h" | ^~~~~~ In file included from data/test_hash_queue.cc:20: data/test_chunk_list.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "helpers/test_fixture.h" | ^~~~~~ data/test_hash_queue.cc:21:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 21 | #import "test_hash_check_queue.h" | ^~~~~~ In file included from data/test_hash_queue.cc:21: data/test_hash_check_queue.h:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import "helpers/test_fixture.h" | ^~~~~~ data/test_hash_check_queue.h:24:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 24 | #import | ^~~~~~ data/test_hash_check_queue.h:25:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 25 | #import | ^~~~~~ data/test_hash_check_queue.h:27:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 27 | #import "data/hash_queue_node.h" | ^~~~~~ data/test_hash_check_queue.h:28:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 28 | #import "data/hash_check_queue.h" | ^~~~~~ data/test_hash_check_queue.h:29:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 29 | #import "torrent/hash_string.h" | ^~~~~~ In file included from ../src/globals.h:5, from data/test_hash_queue.cc:17: ../rak/priority_queue_default.h: In destructor 'rak::priority_item::~priority_item()': ../rak/priority_queue_default.h:56:7: warning: 'throw' will always call 'terminate' [-Wterminate] 56 | throw torrent::internal_error("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/test_hash_queue.cc: In member function 'void test_hash_queue::test_single()': ./helpers/test_thread.h:54:64: warning: 'new' of type 'torrent::thread_disk' with extended alignment 128 [-Waligned-new=] 54 | torrent::thread_disk* thread_disk = new torrent::thread_disk(); \ | ^ data/test_hash_queue.cc:68:3: note: in expansion of macro 'SETUP_THREAD' 68 | SETUP_THREAD(); | ^~~~~~~~~~~~ ./helpers/test_thread.h:54:64: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter 54 | torrent::thread_disk* thread_disk = new torrent::thread_disk(); \ | ^ data/test_hash_queue.cc:68:3: note: in expansion of macro 'SETUP_THREAD' 68 | SETUP_THREAD(); | ^~~~~~~~~~~~ ./helpers/test_thread.h:54:64: note: use '-faligned-new' to enable C++17 over-aligned new support 54 | torrent::thread_disk* thread_disk = new torrent::thread_disk(); \ | ^ data/test_hash_queue.cc:68:3: note: in expansion of macro 'SETUP_THREAD' 68 | SETUP_THREAD(); | ^~~~~~~~~~~~ data/test_hash_queue.cc:72:70: warning: 'new' of type 'torrent::HashQueue' with extended alignment 128 [-Waligned-new=] 72 | torrent::HashQueue* hash_queue = new torrent::HashQueue(thread_disk); | ^ data/test_hash_queue.cc:72:70: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/test_hash_queue.cc:72:70: note: use '-faligned-new' to enable C++17 over-aligned new support data/test_hash_queue.cc: In member function 'void test_hash_queue::test_multiple()': ./helpers/test_thread.h:54:64: warning: 'new' of type 'torrent::thread_disk' with extended alignment 128 [-Waligned-new=] 54 | torrent::thread_disk* thread_disk = new torrent::thread_disk(); \ | ^ data/test_hash_queue.cc:100:3: note: in expansion of macro 'SETUP_THREAD' 100 | SETUP_THREAD(); | ^~~~~~~~~~~~ ./helpers/test_thread.h:54:64: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter 54 | torrent::thread_disk* thread_disk = new torrent::thread_disk(); \ | ^ data/test_hash_queue.cc:100:3: note: in expansion of macro 'SETUP_THREAD' 100 | SETUP_THREAD(); | ^~~~~~~~~~~~ ./helpers/test_thread.h:54:64: note: use '-faligned-new' to enable C++17 over-aligned new support 54 | torrent::thread_disk* thread_disk = new torrent::thread_disk(); \ | ^ data/test_hash_queue.cc:100:3: note: in expansion of macro 'SETUP_THREAD' 100 | SETUP_THREAD(); | ^~~~~~~~~~~~ data/test_hash_queue.cc:104:70: warning: 'new' of type 'torrent::HashQueue' with extended alignment 128 [-Waligned-new=] 104 | torrent::HashQueue* hash_queue = new torrent::HashQueue(thread_disk); | ^ data/test_hash_queue.cc:104:70: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/test_hash_queue.cc:104:70: note: use '-faligned-new' to enable C++17 over-aligned new support data/test_hash_queue.cc: In member function 'void test_hash_queue::test_erase()': ./helpers/test_thread.h:54:64: warning: 'new' of type 'torrent::thread_disk' with extended alignment 128 [-Waligned-new=] 54 | torrent::thread_disk* thread_disk = new torrent::thread_disk(); \ | ^ data/test_hash_queue.cc:132:3: note: in expansion of macro 'SETUP_THREAD' 132 | SETUP_THREAD(); | ^~~~~~~~~~~~ ./helpers/test_thread.h:54:64: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter 54 | torrent::thread_disk* thread_disk = new torrent::thread_disk(); \ | ^ data/test_hash_queue.cc:132:3: note: in expansion of macro 'SETUP_THREAD' 132 | SETUP_THREAD(); | ^~~~~~~~~~~~ ./helpers/test_thread.h:54:64: note: use '-faligned-new' to enable C++17 over-aligned new support 54 | torrent::thread_disk* thread_disk = new torrent::thread_disk(); \ | ^ data/test_hash_queue.cc:132:3: note: in expansion of macro 'SETUP_THREAD' 132 | SETUP_THREAD(); | ^~~~~~~~~~~~ data/test_hash_queue.cc:134:70: warning: 'new' of type 'torrent::HashQueue' with extended alignment 128 [-Waligned-new=] 134 | torrent::HashQueue* hash_queue = new torrent::HashQueue(thread_disk); | ^ data/test_hash_queue.cc:134:70: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/test_hash_queue.cc:134:70: note: use '-faligned-new' to enable C++17 over-aligned new support data/test_hash_queue.cc: In member function 'void test_hash_queue::test_erase_stress()': ./helpers/test_thread.h:54:64: warning: 'new' of type 'torrent::thread_disk' with extended alignment 128 [-Waligned-new=] 54 | torrent::thread_disk* thread_disk = new torrent::thread_disk(); \ | ^ data/test_hash_queue.cc:159:3: note: in expansion of macro 'SETUP_THREAD' 159 | SETUP_THREAD(); | ^~~~~~~~~~~~ ./helpers/test_thread.h:54:64: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter 54 | torrent::thread_disk* thread_disk = new torrent::thread_disk(); \ | ^ data/test_hash_queue.cc:159:3: note: in expansion of macro 'SETUP_THREAD' 159 | SETUP_THREAD(); | ^~~~~~~~~~~~ ./helpers/test_thread.h:54:64: note: use '-faligned-new' to enable C++17 over-aligned new support 54 | torrent::thread_disk* thread_disk = new torrent::thread_disk(); \ | ^ data/test_hash_queue.cc:159:3: note: in expansion of macro 'SETUP_THREAD' 159 | SETUP_THREAD(); | ^~~~~~~~~~~~ data/test_hash_queue.cc:162:70: warning: 'new' of type 'torrent::HashQueue' with extended alignment 128 [-Waligned-new=] 162 | torrent::HashQueue* hash_queue = new torrent::HashQueue(thread_disk); | ^ data/test_hash_queue.cc:162:70: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter data/test_hash_queue.cc:162:70: note: use '-faligned-new' to enable C++17 over-aligned new support make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o rak/LibTorrent_Test-ranges_test.o `test -f 'rak/ranges_test.cc' || echo './'`rak/ranges_test.cc In file included from ../src/torrent/utils/ranges.h:43, from rak/ranges_test.h:5, from rak/ranges_test.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 /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 rak/ranges_test.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 | ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' /bin/sh ../libtool --tag=CXX --mode=link x86_64-alt-linux-g++ -std=c++14 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -lcppunit -ldl -L/usr/lib -L/usr/lib -o LibTorrent_Test_Data LibTorrent_Test_Data-main.o helpers/LibTorrent_Test_Data-mock_function.o helpers/LibTorrent_Test_Data-progress_listener.o helpers/LibTorrent_Test_Data-test_fixture.o helpers/LibTorrent_Test_Data-test_thread.o data/LibTorrent_Test_Data-test_chunk_list.o data/LibTorrent_Test_Data-test_hash_check_queue.o data/LibTorrent_Test_Data-test_hash_queue.o ../src/libtorrent.la ../src/libtorrent_other.la ../src/torrent/libtorrent_torrent.la -lpthread -lcppunit -lz -lcrypto libtool: link: x86_64-alt-linux-g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -o .libs/LibTorrent_Test_Data LibTorrent_Test_Data-main.o helpers/LibTorrent_Test_Data-mock_function.o helpers/LibTorrent_Test_Data-progress_listener.o helpers/LibTorrent_Test_Data-test_fixture.o helpers/LibTorrent_Test_Data-test_thread.o data/LibTorrent_Test_Data-test_chunk_list.o data/LibTorrent_Test_Data-test_hash_check_queue.o data/LibTorrent_Test_Data-test_hash_queue.o -ldl -L/usr/lib ../src/.libs/libtorrent.so ../src/.libs/libtorrent_other.a ../src/torrent/.libs/libtorrent_torrent.a -lpthread -lcppunit -lz -lcrypto -pthread make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/net/LibTorrent_Test_Torrent_Net-test_socket_address.o `test -f 'torrent/net/test_socket_address.cc' || echo './'`torrent/net/test_socket_address.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' /bin/sh ../libtool --tag=CXX --mode=link x86_64-alt-linux-g++ -std=c++14 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -lcppunit -ldl -L/usr/lib -L/usr/lib -o LibTorrent_Test_Torrent_Net LibTorrent_Test_Torrent_Net-main.o helpers/LibTorrent_Test_Torrent_Net-mock_function.o helpers/LibTorrent_Test_Torrent_Net-progress_listener.o helpers/LibTorrent_Test_Torrent_Net-test_fixture.o helpers/LibTorrent_Test_Torrent_Net-test_thread.o torrent/net/LibTorrent_Test_Torrent_Net-test_fd.o torrent/net/LibTorrent_Test_Torrent_Net-test_socket_address.o ../src/libtorrent.la ../src/libtorrent_other.la ../src/torrent/libtorrent_torrent.la -lpthread -lcppunit -lz -lcrypto libtool: link: x86_64-alt-linux-g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -o .libs/LibTorrent_Test_Torrent_Net LibTorrent_Test_Torrent_Net-main.o helpers/LibTorrent_Test_Torrent_Net-mock_function.o helpers/LibTorrent_Test_Torrent_Net-progress_listener.o helpers/LibTorrent_Test_Torrent_Net-test_fixture.o helpers/LibTorrent_Test_Torrent_Net-test_thread.o torrent/net/LibTorrent_Test_Torrent_Net-test_fd.o torrent/net/LibTorrent_Test_Torrent_Net-test_socket_address.o -ldl -L/usr/lib ../src/.libs/libtorrent.so ../src/.libs/libtorrent_other.a ../src/torrent/.libs/libtorrent_torrent.a -lpthread -lcppunit -lz -lcrypto -pthread make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o protocol/LibTorrent_Test-test_request_list.o `test -f 'protocol/test_request_list.cc' || echo './'`protocol/test_request_list.cc In file included from ../src/protocol/request_list.h:43, from protocol/test_request_list.h:3, from protocol/test_request_list.cc:3: ../src/torrent/data/block_transfer.h: In destructor 'torrent::BlockTransfer::~BlockTransfer()': ../src/torrent/data/block_transfer.h:129:5: warning: 'throw' will always call 'terminate' [-Wterminate] 129 | throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/torrent/data/block_transfer.h:129:5: note: in C++11 destructors default to 'noexcept' ../src/torrent/data/block_transfer.h:132:5: warning: 'throw' will always call 'terminate' [-Wterminate] 132 | throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/torrent/data/block_transfer.h:132:5: note: in C++11 destructors default to 'noexcept' In file included from ../src/globals.h:5, from ../src/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' In file included from ../src/protocol/peer_chunks.h:41, from protocol/test_request_list.cc:8: ../rak/partial_queue.h: In member function 'void rak::partial_queue::clear()': ../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/deque:62, from /usr/include/cppunit/Message.h:11, from /usr/include/cppunit/Exception.h:5, from /usr/include/cppunit/TestCaller.h:4, from /usr/include/cppunit/extensions/HelperMacros.h:9, from protocol/test_request_list.h:1: /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)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_function.h:1435, from /usr/include/c++/14/bits/refwrap.h:39, from /usr/include/c++/14/deque:67: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' /bin/sh ../libtool --tag=CXX --mode=link x86_64-alt-linux-g++ -std=c++14 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -lcppunit -ldl -L/usr/lib -L/usr/lib -o LibTorrent_Test LibTorrent_Test-main.o helpers/LibTorrent_Test-mock_function.o helpers/LibTorrent_Test-progress_listener.o helpers/LibTorrent_Test-test_fixture.o helpers/LibTorrent_Test-test_thread.o ../src/LibTorrent_Test-thread_disk.o rak/LibTorrent_Test-allocators_test.o rak/LibTorrent_Test-ranges_test.o protocol/LibTorrent_Test-test_request_list.o ../src/libtorrent.la ../src/libtorrent_other.la ../src/torrent/libtorrent_torrent.la -lpthread -lcppunit -lz -lcrypto libtool: link: x86_64-alt-linux-g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -o .libs/LibTorrent_Test LibTorrent_Test-main.o helpers/LibTorrent_Test-mock_function.o helpers/LibTorrent_Test-progress_listener.o helpers/LibTorrent_Test-test_fixture.o helpers/LibTorrent_Test-test_thread.o ../src/LibTorrent_Test-thread_disk.o rak/LibTorrent_Test-allocators_test.o rak/LibTorrent_Test-ranges_test.o protocol/LibTorrent_Test-test_request_list.o -ldl -L/usr/lib ../src/.libs/libtorrent.so ../src/.libs/libtorrent_other.a ../src/torrent/.libs/libtorrent_torrent.a -lpthread -lcppunit -lz -lcrypto -pthread make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrent_Test_Torrent-tracker_list_test.o `test -f 'torrent/tracker_list_test.cc' || echo './'`torrent/tracker_list_test.cc In file included from torrent/tracker_list_test.cc:4: ../src/net/address_list.h:62:36: warning: 'template struct std::unary_function' is deprecated [-Wdeprecated-declarations] 62 | struct add_address : public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from ../src/torrent/http.h:40, from torrent/tracker_list_test.cc:3: /usr/include/c++/14/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from ../src/globals.h:5, from torrent/tracker_list_test.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: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrent_Test_Torrent-tracker_controller_requesting.o `test -f 'torrent/tracker_controller_requesting.cc' || echo './'`torrent/tracker_controller_requesting.cc In file included from torrent/tracker_controller_requesting.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/functional:49, from torrent/tracker_controller_requesting.cc:3: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrent_Test_Torrent-tracker_controller_test.o `test -f 'torrent/tracker_controller_test.cc' || echo './'`torrent/tracker_controller_test.cc In file included from torrent/tracker_controller_test.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' torrent/tracker_controller_test.cc: In member function 'void tracker_controller_test::test_timeout_lacking_usable()': torrent/tracker_controller_test.cc:495:71: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = void; _Tp = torrent::Tracker]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 495 | std::for_each(tracker_list.begin(), tracker_list.end(), std::mem_fun(&torrent::Tracker::disable)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/functional:49, from torrent/tracker_controller_test.cc:3: /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[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o torrent/LibTorrent_Test_Torrent-tracker_controller_features.o `test -f 'torrent/tracker_controller_features.cc' || echo './'`torrent/tracker_controller_features.cc In file included from torrent/tracker_controller_features.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/functional:49, from torrent/tracker_controller_features.cc:3: /usr/include/c++/14/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' /bin/sh ../libtool --tag=CXX --mode=link x86_64-alt-linux-g++ -std=c++14 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -lcppunit -ldl -L/usr/lib -L/usr/lib -o LibTorrent_Test_Torrent LibTorrent_Test_Torrent-main.o helpers/LibTorrent_Test_Torrent-mock_function.o helpers/LibTorrent_Test_Torrent-progress_listener.o helpers/LibTorrent_Test_Torrent-test_fixture.o helpers/LibTorrent_Test_Torrent-test_thread.o torrent/LibTorrent_Test_Torrent-test_http.o torrent/LibTorrent_Test_Torrent-object_test.o torrent/LibTorrent_Test_Torrent-object_test_utils.o torrent/LibTorrent_Test_Torrent-object_static_map_test.o torrent/LibTorrent_Test_Torrent-object_stream_test.o torrent/LibTorrent_Test_Torrent-tracker_controller_test.o torrent/LibTorrent_Test_Torrent-tracker_controller_features.o torrent/LibTorrent_Test_Torrent-tracker_controller_requesting.o torrent/LibTorrent_Test_Torrent-tracker_list_test.o torrent/LibTorrent_Test_Torrent-tracker_list_features_test.o torrent/LibTorrent_Test_Torrent-tracker_timeout_test.o ../src/libtorrent.la ../src/libtorrent_other.la ../src/torrent/libtorrent_torrent.la -lpthread -lcppunit -lz -lcrypto libtool: link: x86_64-alt-linux-g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -o .libs/LibTorrent_Test_Torrent LibTorrent_Test_Torrent-main.o helpers/LibTorrent_Test_Torrent-mock_function.o helpers/LibTorrent_Test_Torrent-progress_listener.o helpers/LibTorrent_Test_Torrent-test_fixture.o helpers/LibTorrent_Test_Torrent-test_thread.o torrent/LibTorrent_Test_Torrent-test_http.o torrent/LibTorrent_Test_Torrent-object_test.o torrent/LibTorrent_Test_Torrent-object_test_utils.o torrent/LibTorrent_Test_Torrent-object_static_map_test.o torrent/LibTorrent_Test_Torrent-object_stream_test.o torrent/LibTorrent_Test_Torrent-tracker_controller_test.o torrent/LibTorrent_Test_Torrent-tracker_controller_features.o torrent/LibTorrent_Test_Torrent-tracker_controller_requesting.o torrent/LibTorrent_Test_Torrent-tracker_list_test.o torrent/LibTorrent_Test_Torrent-tracker_list_features_test.o torrent/LibTorrent_Test_Torrent-tracker_timeout_test.o -ldl -L/usr/lib ../src/.libs/libtorrent.so ../src/.libs/libtorrent_other.a ../src/torrent/.libs/libtorrent_torrent.a -lpthread -lcppunit -lz -lcrypto -pthread make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' x86_64-alt-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../src -I/usr/include -I/usr/include -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -c -o net/LibTorrent_Test_Net-test_socket_listen.o `test -f 'net/test_socket_listen.cc' || echo './'`net/test_socket_listen.cc make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' /bin/sh ../libtool --tag=CXX --mode=link x86_64-alt-linux-g++ -std=c++14 -pthread -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -lcppunit -ldl -L/usr/lib -L/usr/lib -o LibTorrent_Test_Net LibTorrent_Test_Net-main.o helpers/LibTorrent_Test_Net-mock_function.o helpers/LibTorrent_Test_Net-progress_listener.o helpers/LibTorrent_Test_Net-test_fixture.o helpers/LibTorrent_Test_Net-test_thread.o net/LibTorrent_Test_Net-test_socket_listen.o ../src/libtorrent.la ../src/libtorrent_other.la ../src/torrent/libtorrent_torrent.la -lpthread -lcppunit -lz -lcrypto libtool: link: x86_64-alt-linux-g++ -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -g -DDEBUG -Wall -fvisibility=hidden -o .libs/LibTorrent_Test_Net LibTorrent_Test_Net-main.o helpers/LibTorrent_Test_Net-mock_function.o helpers/LibTorrent_Test_Net-progress_listener.o helpers/LibTorrent_Test_Net-test_fixture.o helpers/LibTorrent_Test_Net-test_thread.o net/LibTorrent_Test_Net-test_socket_listen.o -ldl -L/usr/lib ../src/.libs/libtorrent.so ../src/.libs/libtorrent_other.a ../src/torrent/.libs/libtorrent_torrent.a -lpthread -lcppunit -lz -lcrypto -pthread make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' make check-TESTS make[2]: Entering directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' Running All Tests: torrent/net: torrent/net::test_fd: torrent/net::test_fd::test_valid_flags : OK torrent/net::test_socket_address: torrent/net::test_socket_address::test_sa_is_any : OK torrent/net::test_socket_address::test_sa_is_broadcast : OK torrent/net::test_socket_address::test_make : OK torrent/net::test_socket_address::test_sin_from_sa : OK torrent/net::test_socket_address::test_sin6_from_sa : OK torrent/net::test_socket_address::test_sa_equal : OK torrent/net::test_socket_address::test_sa_equal_addr : OK torrent/net::test_socket_address::test_sa_copy : OK torrent/net::test_socket_address::test_sa_copy_addr : OK torrent/net::test_socket_address::test_sa_from_v4mapped : OK torrent/net::test_socket_address::test_sa_to_v4mapped : OK OK (12) PASS: LibTorrent_Test_Torrent_Net Running All Tests: torrent/utils: torrent/utils::test_extents: torrent/utils::test_extents::test_basic : OK torrent/utils::test_log: torrent/utils::test_log::test_basic : OK torrent/utils::test_log::test_output_open : OK torrent/utils::test_log::test_print : OK torrent/utils::test_log::test_children : OK torrent/utils::test_log::test_file_output : OK torrent/utils::test_log::test_file_output_append : OK torrent/utils::test_log_buffer: torrent/utils::test_log_buffer::test_basic : OK torrent/utils::test_log_buffer::test_timestamps : OK torrent/utils::test_option_strings: torrent/utils::test_option_strings::test_entries : OK torrent/utils::test_queue_buckets: torrent/utils::test_queue_buckets::test_basic : OK torrent/utils::test_queue_buckets::test_erase : OK torrent/utils::test_queue_buckets::test_find : OK torrent/utils::test_queue_buckets::test_destroy_range : OK torrent/utils::test_queue_buckets::test_move_range : OK torrent/utils::test_signal_bitfield: torrent/utils::test_signal_bitfield::test_basic : OK torrent/utils::test_signal_bitfield::test_single : OK torrent/utils::test_signal_bitfield::test_multiple : OK torrent/utils::test_signal_bitfield::test_threaded : OK torrent/utils::test_thread_base: torrent/utils::test_thread_base::test_basic : OK torrent/utils::test_thread_base::test_lifecycle : OK torrent/utils::test_thread_base::test_global_lock_basic : OK torrent/utils::test_thread_base::test_interrupt : OK torrent/utils::test_thread_base::test_stop : OK torrent/utils::test_uri_parser: torrent/utils::test_uri_parser::test_basic : OK torrent/utils::test_uri_parser::test_basic_magnet : OK torrent/utils::test_uri_parser::test_query_magnet : OK OK (27) PASS: LibTorrent_Test_Torrent_Utils Running All Tests: ObjectTest: ObjectTest::test_basic : OK ObjectTest::test_flags : OK ObjectTest::test_swap_and_move : OK ObjectTest::test_create_normal : OK ObjectStaticMapTest: ObjectStaticMapTest::test_basics : OK ObjectStaticMapTest::test_write : OK ObjectStaticMapTest::test_read : OK ObjectStaticMapTest::test_read_extensions : OK ObjectStaticMapTest::test_read_empty : OK ObjectStaticMapTest::test_read_single : OK ObjectStaticMapTest::test_read_single_raw : OK ObjectStaticMapTest::test_read_raw_types : OK ObjectStaticMapTest::test_read_multiple : OK ObjectStaticMapTest::test_read_dict : OK ObjectStaticMapTest::test_write_empty : OK ObjectStaticMapTest::test_write_single : OK ObjectStaticMapTest::test_write_multiple : OK ObjectStreamTest: ObjectStreamTest::testInputOrdered : OK ObjectStreamTest::testInputNullKey : OK ObjectStreamTest::testOutputMask : OK ObjectStreamTest::testBuffer : OK ObjectStreamTest::testReadBencodeC : OK ObjectStreamTest::test_read_skip : OK ObjectStreamTest::test_read_skip_invalid : OK ObjectStreamTest::test_write : OK tracker_controller_test: tracker_controller_test::test_basic : OK tracker_controller_test::test_enable : OK tracker_controller_test::test_requesting : OK tracker_controller_test::test_timeout : OK tracker_controller_test::test_single_success : OK tracker_controller_test::test_single_failure : OK tracker_controller_test::test_single_disable : OK tracker_controller_test::test_send_start : OK tracker_controller_test::test_send_stop_normal : OK tracker_controller_test::test_send_completed_normal : OK tracker_controller_test::test_send_update_normal : OK tracker_controller_test::test_send_update_failure : OK tracker_controller_test::test_send_task_timeout : OK tracker_controller_test::test_send_close_on_enable : OK tracker_controller_test::test_multiple_success : OK tracker_controller_test::test_multiple_failure : OK tracker_controller_test::test_multiple_cycle : OK tracker_controller_test::test_multiple_cycle_second_group : OK tracker_controller_test::test_multiple_send_stop : OK tracker_controller_test::test_timeout_lacking_usable : OK tracker_controller_test::test_disable_tracker : OK tracker_controller_test::test_new_peers : OK tracker_controller_features: tracker_controller_features::test_requesting_basic : OK tracker_controller_features::test_requesting_timeout : OK tracker_controller_features::test_promiscious_timeout : OK tracker_controller_features::test_promiscious_failed : OK tracker_controller_features::test_scrape_basic : OK tracker_controller_features::test_scrape_priority : OK tracker_controller_features::test_groups_requesting : OK tracker_controller_features::test_groups_scrape : OK tracker_controller_requesting: tracker_controller_requesting::test_hammering_basic_success : OK tracker_controller_requesting::test_hammering_basic_success_long_timeout : OK tracker_controller_requesting::test_hammering_basic_success_short_timeout : OK tracker_controller_requesting::test_hammering_basic_failure : OK tracker_controller_requesting::test_hammering_basic_failure_long_timeout : OK tracker_controller_requesting::test_hammering_basic_failure_short_timeout : OK tracker_controller_requesting::test_hammering_multi_success : OK tracker_controller_requesting::test_hammering_multi_success_long_timeout : OK tracker_controller_requesting::test_hammering_multi_success_short_timeout : OK tracker_controller_requesting::test_hammering_multi_failure : OK tracker_list_test: tracker_list_test::test_basic : OK tracker_list_test::test_enable : OK tracker_list_test::test_close : OK tracker_list_test::test_tracker_flags : OK tracker_list_test::test_find_url : OK tracker_list_test::test_can_scrape : OK tracker_list_test::test_single_success : OK tracker_list_test::test_single_failure : OK tracker_list_test::test_single_closing : OK tracker_list_test::test_multiple_success : OK tracker_list_test::test_scrape_success : OK tracker_list_test::test_scrape_failure : OK tracker_list_test::test_has_active : OK tracker_list_features_test: tracker_list_features_test::test_new_peers : OK tracker_list_features_test::test_has_active : OK tracker_list_features_test::test_find_next_to_request : OK tracker_list_features_test::test_find_next_to_request_groups : OK tracker_list_features_test::test_count_active : OK tracker_list_features_test::test_request_safeguard : OK tracker_timeout_test: tracker_timeout_test::test_set_timeout : OK tracker_timeout_test::test_timeout_tracker : OK tracker_timeout_test::test_timeout_update : OK tracker_timeout_test::test_timeout_requesting : OK torrent: torrent::test_http: torrent::test_http::test_basic : OK torrent::test_http::test_done : OK torrent::test_http::test_failure : OK torrent::test_http::test_delete_on_done : OK torrent::test_http::test_delete_on_failure : OK OK (93) PASS: LibTorrent_Test_Torrent Running OK (0) PASS: LibTorrent_Test_Data Running All Tests: net: net::test_socket_listen: net::test_socket_listen::test_basic : OK net::test_socket_listen::test_open_error : OK net::test_socket_listen::test_open_sap : OK net::test_socket_listen::test_open_sap_error : OK net::test_socket_listen::test_open_flags : OK net::test_socket_listen::test_open_flags_error : OK net::test_socket_listen::test_open_port_single : OK net::test_socket_listen::test_open_port_single_error : OK net::test_socket_listen::test_open_port_range : OK net::test_socket_listen::test_open_port_range_error : OK net::test_socket_listen::test_open_sequential : OK net::test_socket_listen::test_open_randomize : OK net::test_socket_listen::test_accept : OK OK (13) PASS: LibTorrent_Test_Net Running All Tests: tracker: tracker::test_tracker_http: tracker::test_tracker_http::test_basic : OK OK (1) PASS: LibTorrent_Test_Tracker Running All Tests: AllocatorsTest: AllocatorsTest::testAlignment : OK RangesTest: RangesTest::test_basic : OK RangesTest::test_intersect : OK RangesTest::test_create_union : OK TestRequestList: TestRequestList::test_basic : OK TestRequestList::test_single_request : OK TestRequestList::test_single_canceled : OK TestRequestList::test_choke_normal : OK TestRequestList::test_choke_unchoke_discard : OK TestRequestList::test_choke_unchoke_transfer : OK OK (10) PASS: LibTorrent_Test ================== All 7 tests passed ================== make[2]: Leaving directory '/usr/src/RPM/BUILD/libtorrent-0.14.0/test' + exit 0 Processing files: libtorrent22-0.14.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.86397 + 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.olpiaL find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) lib.prov: /usr/src/tmp/libtorrent-buildroot/usr/lib64/libtorrent.so.22: 1095 symbols, 21 bpp warning: hash collision: _ZN7torrent8Throttle12set_max_rateEm _ZN7torrent9PollEPoll5closeEPNS_5EventE Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.86cQho 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()(64bit) = set:odI9Ia1upmeEk0cP4RZq2iAA9vvZqU1qoFNUgFz0pmkcWZp3IjnBA4u2326I8Ldb5okA9gx19mBXMutxb5xIDVFZuW19Z2sZ8UNI6K5nJKki5db70OWjXCEy949gySAyZEQKaL5yDBzzRRafH0UrqYPewhTZ0SOPKJAC0hadRF0m3znSXxARM87qrk2SrbrSm2E4wYZJChBmU7Z9Sg2S0AzY1Mu50W0qwnZt7RAyV0CyZjbyVgqW1yc9RGgEM7d8IifHpcNmqmm4Sh4D1k1We9AnzKhFh5NB4BniBQFk2QHD47hZ4wTs0FpKp8SrMZjT1NG2cXmBoUin93c1FngZiI518QxVPJZxEt93H11GCQmpXSVdI5BmA0gWzwaIgZH0ZnRZDvjnzqzaaMY6gE8ySfhHT9FTNgldISpZ37WeoMTy5ZtWXscIGmdHqONwt3Nyn9SGIyFMc2sk3Jjw4r2GO0uGsX0nze5ZcJh2r65pHu7tDsBGOAwha8Qoxig0cvwZ4RDzyyPFRGaJxm7Rt8R24HVmkpJ9qr6HGNqM7l4r5Hv41iEcdmIZmaB709NkiKjTS1Hl0l0wNnSE4yksGIlOFeJfdCUmREHUaowVhtY0dS814bhKMQUd66GiOniib7n6NvZE1Eo3xHofsuixI5t2HnAvZ57G8WmtaZvCbJHDohcESunQbKoYusTg4hWDNAQ6qz0GsHJXnNqnJQEybHUR8dXSIE965lW6wBtKDbNriJQ0mVMTWLfkUaUddhfSG7E8glOZ6vdimUaME3isA0PZaBNPeI7noZEieKwpv15gIAPzcF01c95Dsph7PtmJywQR2AH84b0x2gYXgnCo8FLgZ03HYbZsUxEfwk8Aao895GDUHNA109bCwvaifn2Zgl2ZCUsBoiVQz71Z0r6JmBCzuaHV2iGpPZG0mZCTk4xNCmj90l4ebfvQId5fxdfZBzcCtKqDiZpClP7ekuPDp16gxUw4dZ7MLoldMweP2gbk1OPMULI1LxYRfQArL6x1upznSzbudf1dhBSgbjjUPtwbgn2ydwd0EL0JIBoPEn80Mu1G6yA36E8TdCTRdxAHEW3GakmdDfv0919Xq1m7ooWVXrzgTbRwPFkGXM1Zze4JCRyM6H47mefJo88w4CdzW44qu1826dyX0TBO16lWQon82l5ZdoDabQFMROZmwvtZmxE70V7NYYH9fBdcvEOibMl3g8ikXHieExidZjr9r7x2x2OB5sTF1u2yz0AWI9HEUTIhIzAOm1MhLhFCt5YzIKl1OWsXeHCZJsr8dc5XmrQCPqyDlTbBRgXlJKG0Ia0HfBgfy58sOywkmdxpXhbJJySaPG7rmxCXQfBsa4qWVSM4Pi238MZhNhiVQv1MhNk242FZxhkyGj4Zq98Z2Ybmi9M9Q8618u5xWCoRe1iozwy3wncyf0bD59DZKuN4GZwYzV88sWZhiooMl2ktwrlirP4I0H4QcZiZu2hxX6dJBVDN8niTosJktlCcwvXSgGcMxQP2ZriYoLJgEwAGsRINoGlVZnGlDHmZAaUJtuE4w5wvre9HkR2Jst0wG9kSZj1J7xlWGQF8L2Qt0fWeK098L1IGTmPi1nZe3EomgoKSPBLTtHkE0u4F667N9p0fZLt5LmYlhrhd0T8HweyIGVqwa7rhMEFZIy4b3sBtZCJaW6k099Zc68stgWEEUKw5zE0yVZxR7KGFu0uoI3Ezmt2162Sg8YrI2wYyCESSvyP1UgKUBH0YYkZ0WU93swy1yv5cTdObQjdl9ZkDFJNcpPMwGG4FpFGMYVKp8HZivKlO1jmf7waSclZr3dZ5grNbNv9jJAez0EeBufCNrHlmWZs1kNlsK9YPjIgplxASHSmaMnpJvXMx2pZ4dJ1TtTvf2BZaOMX2ZxChcjXSUG70XjmqiCRzLW1mHEVjAiZJUMhMxrH3A2sC1kvElXIZ4hyXlV9NzrnSk0tY2dhZELwm0MUYJBYUTGGzpayb6URi7SyBssfkoIuzacq9H32b3xmMxes9X85MdDuMmyWj068TdSRdxFxQV9iiQPEteUuS0KLZjw7io3UjApVKEeNSj90g6oQoyEqhriSVFy44AFwT00oB0gMdZ1CapfMYim2j6iRQhoc9G2yno4gG0YilEFgzbRraZH58AAXkhBylzX4QAD1xwDeE5P3WfFm8kFJIuI8iqz4H4NutiFC1CgHxQoYqGdor3COoRVzJW1A4GbePUZDKczIfxU4q5wKxoZvFPNBXv2ZyqVH7ESIxi9UAEj91hka3NDybun6Ahmlro9RUf Requires: libc.so.6(GLIBC_2.10)(64bit), libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.2)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.32)(64bit), libc.so.6(GLIBC_2.33)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.38)(64bit), libc.so.6(GLIBC_2.4)(64bit), libcrypto.so.3()(64bit) >= set:qlo4YiTIEWFpJVj3VfNWLXNCE6IZk12iB9iPZe90AnDv77czcAHMUNRVu, libcrypto.so.3(OPENSSL_3.0.0)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libgcc_s.so.1(GCC_3.4)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.15)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.11)(64bit), libstdc++.so.6(GLIBCXX_3.4.14)(64bit), libstdc++.so.6(GLIBCXX_3.4.15)(64bit), libstdc++.so.6(GLIBCXX_3.4.18)(64bit), libstdc++.so.6(GLIBCXX_3.4.20)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.26)(64bit), libstdc++.so.6(GLIBCXX_3.4.29)(64bit), libstdc++.so.6(GLIBCXX_3.4.32)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), libz.so.1()(64bit) >= set:kikn33Ehre3, 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.bokA0l 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.89MJa9 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.iHnWjM 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/lib64/libtorrent.so.22.0.0, /usr/lib64/pkgconfig Conflicts: libtorrent-rasterbar-devel Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lHrELj 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.CHFuhv find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.p1TrwI find-requires: running scripts (debuginfo) Provides: debug64(libtorrent.so.22) Requires: libtorrent22 = 3:0.14.0-alt1, debug64(libc.so.6), debug64(libcrypto.so.3), debug64(libgcc_s.so.1), debug64(libstdc++.so.6), debug64(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/x86_64/libtorrent22-0.14.0-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/libtorrent-devel-0.14.0-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/libtorrent22-debuginfo-0.14.0-alt1.x86_64.rpm (w2T16.xzdio) 333.90user 45.86system 1:18.92elapsed 481%CPU (0avgtext+0avgdata 654536maxresident)k 0inputs+0outputs (0major+9574220minor)pagefaults 0swaps 3.33user 2.54system 1:29.52elapsed 6%CPU (0avgtext+0avgdata 136712maxresident)k 0inputs+0outputs (0major+222458minor)pagefaults 0swaps --- libtorrent22-0.14.0-alt1.x86_64.rpm.repo 2024-10-16 14:26:53.000000000 +0000 +++ libtorrent22-0.14.0-alt1.x86_64.rpm.hasher 2024-12-19 05:13:24.417520876 +0000 @@ -26,2 +26,3 @@ Requires: libstdc++.so.6(CXXABI_1.3)(64bit) +Requires: libstdc++.so.6(CXXABI_1.3.15)(64bit) Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit) @@ -42,6 +43,6 @@ Requires: rpmlib(PayloadIsLzma) -Provides: libtorrent.so.22()(64bit) = set:odI9Ia1upmeEk0cP4RZq2iAA9vvZqU1qoFNUgFz0pmkcWZp3IjnBA4u2326I8Ldb5okA9gx19mBXMutxb5xIDVFZuW19Z2sZ8UNI6K5nJKki5db70OWjXCEy949gySAyZEQKaL5yDBz3JdU1yExNfQZeuMmuSJBQ48iFFe5MqoYOufAI66VgrziMurpPSi0B0AZLScGQ2ZEZkr81r0OhZgwZa0g7g3YOLfG95P1c5Z7m4PxQQ34piGlxgxfqgoBumPoyJQII8wl1wagT9xYqQdadG8KAEYiGAeBiwuZ4yzEu2YC38dPd3Nu3SvK3yl5oSJaNMBKi6o2iLwY5Sy04WMYVSZwQKAy6GCQmpXSVdI5BmA0V1VqOB4kx5Wv1YLWZHLFHhJh55ou38k4hXDERXAQXoEG6mXIZp3t7cUrN2ZCZdVoolJqmRAz1X6y5LiIlp5jxp4UE6qD09S4kB1YkVS1K6taWVS8xdzyIlLzKjKilpiM854qIg980CfcEAZHZshhNVQqlBSgHzWeAq1yRsbGIS4JdzlRodUzayJyRfy09kC6bmvjFY089CiOtWSeoJ2E209qrRIh94FUkpHAjtqvqcNJGhnNlw8XN3Qoz4gIAZIX8jzTooEa9v99JsspMbSs7oG3xHofsuixI5t2HnAvZ57G8WmtaZvCbJHDohcESunQbKoYusTg4hWZL2B3FdQ61kVmrTLyRKqFN8su9HUR8dXSIE965lW6wBtKDbNriJQ0mVMTWLfkUaUddhfSG7E8glOZ6vdimjpagcWw479MsfIv2XN5SfaVQ4nZpZ5g14bVY8jag0jiN9nmQNsDlH88tJ0Va2N2gE04ZKgnCo8FLgZ03HYbZsUx0Bi8lMgiakfNnz930imc1ZAhWViM7G4ZtMVaNAOF7f2WxdzmHiPhfBRs19RIVv5MWTKF82zdJCi0G8smuZoCJFU9IVVL6pcXsReBYjPGV37aLVPI03EgsgyCZjUnIG6ogDp1E5G0VpoYnSwTgZqvE9Tud23YO6LI7nYqu2qyaJxmCCMDX0nwK44r0r0gv1qpbNChLg0wZ2gRgAsMUPxjlTounT4iKyGfEGgpRsZs7gigOKmwR16CuZurzgTbRw3fx37Yfe4JCRyM6H47mefJo88w4CdzW44qu1826dyX0TBO16lWQon82l5ZdoDabQFMROZmwvtZmxE70V7NYYH9fBdcvEOibMl3g8ikXHieExidZjr9r7x2x2OB5sTF1u2yz0AWI9HEUTIhIzAOm1MhLhFCt5YzIKl1OWsXeHCZJsr8dc5XmrQCPqyDlTbBRgXlJKG0Ia0HfBgfy58sOywkmdx17ASaqHcHuIp5qKjZA9D2xCuKdcNIAM02Iv479V4m103t5B7284iZzyE4lD8YR4AuxvNia1ex6N80dCOi4GrylX48xd2ae0uN8ZgMOphOVLX5jEZjMfCzwMFX7iooMl2ktwrlirP4I0H4QcZiZu2hxX6dJBVDN8niTosJktlCcwvXSgGcMxQP2ZriYoLJgEwAGsRINoGlVZnGlDHmZAaUJtuE4w5wvre9HkR2Jst0wG9kSZj1J7xlWGQF8L2Qt0fWeK098L1IGTmPi1nZe3EomgoKSPBLTtHkE0u4F667N9p0qs5LmYlhrhd0T8HweyIGVqwa7rhMEFZIy4b3sBtZCJaW6k099Zc68stgWEEUKw5zE0yVZxR7KGFu0uoI3Ezmt2162Sg8YrIyW4EwH9GJZ7yP1UgKUBH0YYkZ0WU93swy1yv5cTdObQjdl9ZkDFJNcpPMwGG4FpFGMYVKp8HZivKlO1jmf7waSclZr3dZ5grNbNv9jJAez0EeBufCNrHlmWZs1kNlsK9YPjIgplxASHSmaMnpJvXMx2pZ4dJ1TtTvf2BZaOMX2ZxChcjXSZnhmc0SDIQAcDO7oJyCfhaZ7z3717KJegaMp6gZ1o2Z4hyXlV9NzrnSk0tY2dhZELwm0MUYJBYUTGGzpayb6URi7SyBssfkoIuzacq9H32b3xmMxes9X85MdDuMmyWj068TdSRdxFxQV9iiQPEteUuS0KLZjw7io3UjApVKEeNSj90g6oQoyEqhriSVFy44AFwT00oBs90oBCZgjBI7ct3FOioOgGCe2z9hln1ojxh0F2MblxC2dKkLFYL58AAXkhBylzX4QAD1xwDeE5P3WfFm8kFJIuI8iqz4H4NutiFC1CgHxQoYqGdor3COoRVzJW1A4GbePUZDKczIfxU4q5wKxoZvFPNBXv2ZyqVH7UVBiM9hDi2yEk6OVdnO5Lb3O8HGdIAqY7 +Provides: libtorrent.so.22()(64bit) = set:odI9Ia1upmeEk0cP4RZq2iAA9vvZqU1qoFNUgFz0pmkcWZp3IjnBA4u2326I8Ldb5okA9gx19mBXMutxb5xIDVFZuW19Z2sZ8UNI6K5nJKki5db70OWjXCEy949gySAyZEQKaL5yDBzzRRafH0UrqYPewhTZ0SOPKJAC0hadRF0m3znSXxARM87qrk2SrbrSm2E4wYZJChBmU7Z9Sg2S0AzY1Mu50W0qwnZt7RAyV0CyZjbyVgqW1yc9RGgEM7d8IifHpcNmqmm4Sh4D1k1We9AnzKhFh5NB4BniBQFk2QHD47hZ4wTs0FpKp8SrMZjT1NG2cXmBoUin93c1FngZiI518QxVPJZxEt93H11GCQmpXSVdI5BmA0gWzwaIgZH0ZnRZDvjnzqzaaMY6gE8ySfhHT9FTNgldISpZ37WeoMTy5ZtWXscIGmdHqONwt3Nyn9SGIyFMc2sk3Jjw4r2GO0uGsX0nze5ZcJh2r65pHu7tDsBGOAwha8Qoxig0cvwZ4RDzyyPFRGaJxm7Rt8R24HVmkpJ9qr6HGNqM7l4r5Hv41iEcdmIZmaB709NkiKjTS1Hl0l0wNnSE4yksGIlOFeJfdCUmREHUaowVhtY0dS814bhKMQUd66GiOniib7n6NvZE1Eo3xHofsuixI5t2HnAvZ57G8WmtaZvCbJHDohcESunQbKoYusTg4hWDNAQ6qz0GsHJXnNqnJQEybHUR8dXSIE965lW6wBtKDbNriJQ0mVMTWLfkUaUddhfSG7E8glOZ6vdimUaME3isA0PZaBNPeI7noZEieKwpv15gIAPzcF01c95Dsph7PtmJywQR2AH84b0x2gYXgnCo8FLgZ03HYbZsUxEfwk8Aao895GDUHNA109bCwvaifn2Zgl2ZCUsBoiVQz71Z0r6JmBCzuaHV2iGpPZG0mZCTk4xNCmj90l4ebfvQId5fxdfZBzcCtKqDiZpClP7ekuPDp16gxUw4dZ7MLoldMweP2gbk1OPMULI1LxYRfQArL6x1upznSzbudf1dhBSgbjjUPtwbgn2ydwd0EL0JIBoPEn80Mu1G6yA36E8TdCTRdxAHEW3GakmdDfv0919Xq1m7ooWVXrzgTbRwPFkGXM1Zze4JCRyM6H47mefJo88w4CdzW44qu1826dyX0TBO16lWQon82l5ZdoDabQFMROZmwvtZmxE70V7NYYH9fBdcvEOibMl3g8ikXHieExidZjr9r7x2x2OB5sTF1u2yz0AWI9HEUTIhIzAOm1MhLhFCt5YzIKl1OWsXeHCZJsr8dc5XmrQCPqyDlTbBRgXlJKG0Ia0HfBgfy58sOywkmdxpXhbJJySaPG7rmxCXQfBsa4qWVSM4Pi238MZhNhiVQv1MhNk242FZxhkyGj4Zq98Z2Ybmi9M9Q8618u5xWCoRe1iozwy3wncyf0bD59DZKuN4GZwYzV88sWZhiooMl2ktwrlirP4I0H4QcZiZu2hxX6dJBVDN8niTosJktlCcwvXSgGcMxQP2ZriYoLJgEwAGsRINoGlVZnGlDHmZAaUJtuE4w5wvre9HkR2Jst0wG9kSZj1J7xlWGQF8L2Qt0fWeK098L1IGTmPi1nZe3EomgoKSPBLTtHkE0u4F667N9p0fZLt5LmYlhrhd0T8HweyIGVqwa7rhMEFZIy4b3sBtZCJaW6k099Zc68stgWEEUKw5zE0yVZxR7KGFu0uoI3Ezmt2162Sg8YrI2wYyCESSvyP1UgKUBH0YYkZ0WU93swy1yv5cTdObQjdl9ZkDFJNcpPMwGG4FpFGMYVKp8HZivKlO1jmf7waSclZr3dZ5grNbNv9jJAez0EeBufCNrHlmWZs1kNlsK9YPjIgplxASHSmaMnpJvXMx2pZ4dJ1TtTvf2BZaOMX2ZxChcjXSUG70XjmqiCRzLW1mHEVjAiZJUMhMxrH3A2sC1kvElXIZ4hyXlV9NzrnSk0tY2dhZELwm0MUYJBYUTGGzpayb6URi7SyBssfkoIuzacq9H32b3xmMxes9X85MdDuMmyWj068TdSRdxFxQV9iiQPEteUuS0KLZjw7io3UjApVKEeNSj90g6oQoyEqhriSVFy44AFwT00oB0gMdZ1CapfMYim2j6iRQhoc9G2yno4gG0YilEFgzbRraZH58AAXkhBylzX4QAD1xwDeE5P3WfFm8kFJIuI8iqz4H4NutiFC1CgHxQoYqGdor3COoRVzJW1A4GbePUZDKczIfxU4q5wKxoZvFPNBXv2ZyqVH7ESIxi9UAEj91hka3NDybun6Ahmlro9RUf Provides: libtorrent22 = 3:0.14.0-alt1:sisyphus+359908.300.4.1 File: /usr/lib64/libtorrent.so.22 120777 root:root libtorrent.so.22.0.0 -File: /usr/lib64/libtorrent.so.22.0.0 100644 root:root 27c2529e5e8eb88d839e45e2b61d0b3d +File: /usr/lib64/libtorrent.so.22.0.0 100644 root:root ce17c8d605398c3a2e691f9cbb74e5e9 File: /usr/share/doc/libtorrent22-0.14.0 40755 root:root @@ -52,2 +53,2 @@ File: /usr/share/doc/libtorrent22-0.14.0/README 100644 root:root 3cb02f04d50cb4e57dde8600473074d6 -RPMIdentity: 58c77e54e6da770508a2958acd854f3e7a4e1cb2964d43dc4b2662f72de7f98e852cc43d09a0e3c240caa34ec92e8a78fc32eacf5e92cdaff09492efc437c988 +RPMIdentity: 5b19ee5e0c847dc12394887b6d882582a0546f86891812104a6cf5cbf9efec07464957ffdca67acdca44bece4eef36da06279968e985a2b5f287acc11d67b8d2 --- libtorrent22-debuginfo-0.14.0-alt1.x86_64.rpm.repo 2024-10-16 14:26:53.000000000 +0000 +++ libtorrent22-debuginfo-0.14.0-alt1.x86_64.rpm.hasher 2024-12-19 05:13:24.488521774 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/0c 40755 root:root -/usr/lib/debug/.build-id/0c/397608b82e8eff20532b6bbc060cd4b3fc4b06 120777 root:root ../../../../lib64/libtorrent.so.22.0.0 -/usr/lib/debug/.build-id/0c/397608b82e8eff20532b6bbc060cd4b3fc4b06.debug 120777 root:root ../../usr/lib64/libtorrent.so.22.0.0.debug +/usr/lib/debug/.build-id/bc 40755 root:root +/usr/lib/debug/.build-id/bc/eb10515f850df38884cb3a427351a14022e985 120777 root:root ../../../../lib64/libtorrent.so.22.0.0 +/usr/lib/debug/.build-id/bc/eb10515f850df38884cb3a427351a14022e985.debug 120777 root:root ../../usr/lib64/libtorrent.so.22.0.0.debug /usr/lib/debug/usr/lib64/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/0c 40755 root:root -File: /usr/lib/debug/.build-id/0c/397608b82e8eff20532b6bbc060cd4b3fc4b06 120777 root:root ../../../../lib64/libtorrent.so.22.0.0 -File: /usr/lib/debug/.build-id/0c/397608b82e8eff20532b6bbc060cd4b3fc4b06.debug 120777 root:root ../../usr/lib64/libtorrent.so.22.0.0.debug -File: /usr/lib/debug/usr/lib64/libtorrent.so.22.0.0.debug 100644 root:root 201134d5b7a36c082038e288b42c803b +File: /usr/lib/debug/.build-id/bc 40755 root:root +File: /usr/lib/debug/.build-id/bc/eb10515f850df38884cb3a427351a14022e985 120777 root:root ../../../../lib64/libtorrent.so.22.0.0 +File: /usr/lib/debug/.build-id/bc/eb10515f850df38884cb3a427351a14022e985.debug 120777 root:root ../../usr/lib64/libtorrent.so.22.0.0.debug +File: /usr/lib/debug/usr/lib64/libtorrent.so.22.0.0.debug 100644 root:root 09ab67ae57c249c01cf1846864535e37 File: /usr/lib/debug/usr/lib64/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: 79718e35c3d34e51aa6526ecf5944f72f0ae8b03de7b12c8ed9c9b83b0bafc2f659257f268772dc8042d02d6125582fe98133ec8b50a036367adef34a9337488 +RPMIdentity: 24618ef17a81b038830845978e4bac3a4af2ec7dd570e8e2c58bdb411f1eee1bf1cec0e7069b7cdbf494c29168a1f0296d89cddd2771a4d53259145dd9c04724