<86>Jan 26 04:43:00 userdel[14061]: delete user 'rooter' <86>Jan 26 04:43:00 userdel[14061]: removed group 'rooter' owned by 'rooter' <86>Jan 26 04:43:00 groupadd[14066]: group added to /etc/group: name=rooter, GID=522 <86>Jan 26 04:43:00 groupadd[14066]: group added to /etc/gshadow: name=rooter <86>Jan 26 04:43:00 groupadd[14066]: new group: name=rooter, GID=522 <86>Jan 26 04:43:00 useradd[14070]: new user: name=rooter, UID=522, GID=522, home=/root, shell=/bin/bash <86>Jan 26 04:43:00 userdel[14076]: delete user 'builder' <86>Jan 26 04:43:00 userdel[14076]: removed group 'builder' owned by 'builder' <86>Jan 26 04:43:00 userdel[14076]: removed shadow group 'builder' owned by 'builder' <86>Jan 26 04:43:00 groupadd[14081]: group added to /etc/group: name=builder, GID=523 <86>Jan 26 04:43:00 groupadd[14081]: group added to /etc/gshadow: name=builder <86>Jan 26 04:43:00 groupadd[14081]: new group: name=builder, GID=523 <86>Jan 26 04:43:00 useradd[14085]: new user: name=builder, UID=523, GID=523, home=/usr/src, shell=/bin/bash <13>Jan 26 04:43:05 rpmi: libboost_system1.58.0-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:05 rpmi: libcom_err-1.42.13-alt2 1449075923 installed <13>Jan 26 04:43:05 rpmi: GeoIP-Lite-Country-1:20170104-alt1 1483571269 installed <13>Jan 26 04:43:05 rpmi: libGeoIP-1.6.9-alt1 1453798695 installed <13>Jan 26 04:43:05 rpmi: libverto-0.2.6-alt1_6 1455633232 installed <13>Jan 26 04:43:05 rpmi: libverto-devel-0.2.6-alt1_6 1455633232 installed <13>Jan 26 04:43:05 rpmi: libcom_err-devel-1.42.13-alt2 1449075923 installed <13>Jan 26 04:43:05 rpmi: libboost_atomic1.58.0-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:05 rpmi: libboost_random1.58.0-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:05 rpmi: libboost_chrono1.58.0-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:05 rpmi: libboost_timer1.58.0-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:05 rpmi: libboost_thread1.58.0-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:05 rpmi: libboost_filesystem1.58.0-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:05 rpmi: libboost_python1.58.0-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:05 rpmi: libboost_program_options1.58.0-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:05 rpmi: libboost_system1.57.0-1:1.57.0-alt5.1 1459675400 installed <13>Jan 26 04:43:05 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Jan 26 04:43:06 rpmi: libstdc++6-devel-6.3.1-alt1 1484277945 installed <13>Jan 26 04:43:06 rpmi: boost-python-headers-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:06 rpmi: libboost_test1.58.0-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:06 rpmi: libboost_serialization1.58.0-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:06 rpmi: libboost_iostreams1.58.0-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:07 rpmi: libicu56-1:5.6.1-alt1.1 1458012365 installed <13>Jan 26 04:43:07 rpmi: libboost_regex1.58.0-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:07 rpmi: libboost_graph1.58.0-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:07 rpmi: libboost_date_time1.58.0-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:07 rpmi: libboost_container1.58.0-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:09 rpmi: boost-devel-headers-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:09 rpmi: boost-devel-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:09 rpmi: libtinfo-devel-5.9-alt8 1456756589 installed <13>Jan 26 04:43:09 rpmi: libncurses-devel-5.9-alt8 1456756589 installed <13>Jan 26 04:43:09 rpmi: libexpat-2.1.0-alt1 1347469773 installed <13>Jan 26 04:43:09 rpmi: python-modules-curses-2.7.11-alt3 1460726037 installed <13>Jan 26 04:43:09 rpmi: libkeyutils-1.5.9-alt2 1464351238 installed <13>Jan 26 04:43:09 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 26 04:43:09 rpmi: ca-certificates-2016.09.28-alt1 1475233825 installed <13>Jan 26 04:43:09 rpmi: libcrypto10-1.0.2j-alt1 1474898021 installed <13>Jan 26 04:43:09 rpmi: libkrb5-1.14.2-alt2 1465464128 installed <13>Jan 26 04:43:09 rpmi: libssl10-1.0.2j-alt1 1474898021 installed <13>Jan 26 04:43:09 rpmi: python-modules-compiler-2.7.11-alt3 1460726037 installed <13>Jan 26 04:43:09 rpmi: python-modules-email-2.7.11-alt3 1460726037 installed <13>Jan 26 04:43:09 rpmi: python-modules-unittest-2.7.11-alt3 1460726037 installed <13>Jan 26 04:43:09 rpmi: python-modules-encodings-2.7.11-alt3 1460726037 installed <13>Jan 26 04:43:10 rpmi: python-modules-2.7.11-alt3 1460726037 installed <13>Jan 26 04:43:10 rpmi: python-modules-xml-2.7.11-alt3 1460726037 installed <13>Jan 26 04:43:10 rpmi: python-modules-hotshot-2.7.11-alt3 1460726037 installed <13>Jan 26 04:43:10 rpmi: python-modules-bsddb-2.7.11-alt3 1460726037 installed <13>Jan 26 04:43:10 rpmi: python-modules-ctypes-2.7.11-alt3 1460726037 installed <13>Jan 26 04:43:10 rpmi: python-modules-multiprocessing-2.7.11-alt3 1460726037 installed <13>Jan 26 04:43:10 rpmi: python-modules-logging-2.7.11-alt3 1460726037 installed <13>Jan 26 04:43:10 rpmi: python-2.7.11-alt3 1460726037 installed <13>Jan 26 04:43:10 rpmi: python-dev-2.7.11-alt3 1460726037 installed <86>Jan 26 04:43:10 groupadd[23605]: group added to /etc/group: name=sasl, GID=499 <86>Jan 26 04:43:10 groupadd[23605]: group added to /etc/gshadow: name=sasl <86>Jan 26 04:43:10 groupadd[23605]: new group: name=sasl, GID=499 <13>Jan 26 04:43:10 rpmi: libsasl2-3-2.1.26-alt7 1479477448 installed <13>Jan 26 04:43:10 rpmi: libldap-2.4.42-alt4 1471466295 installed <13>Jan 26 04:43:10 rpmi: libkrb5-ldap-1.14.2-alt2 1465464128 installed <13>Jan 26 04:43:10 rpmi: libkrb5-devel-1.14.2-alt2 1465464128 installed <13>Jan 26 04:43:10 rpmi: libssl-devel-1.0.2j-alt1 1474898021 installed <13>Jan 26 04:43:10 rpmi: boost-python-devel-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:10 rpmi: boost-asio-devel-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:10 rpmi: boost-filesystem-devel-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:10 rpmi: boost-program_options-devel-1:1.58.0-alt4 1463060108 installed <13>Jan 26 04:43:11 rpmi: gcc6-c++-6.3.1-alt1 1484277945 installed <13>Jan 26 04:43:11 rpmi: libboost_filesystem1.57.0-1:1.57.0-alt5.1 1459675400 installed <13>Jan 26 04:43:11 rpmi: libGeoIP-devel-1.6.9-alt1 1453798695 installed <13>Jan 26 04:43:11 rpmi: zlib-devel-1.2.8-alt1 1371079011 installed Installing libtorrent-rasterbar8-0.16.19-alt1.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.34535 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libtorrent-rasterbar8-0.16.19 + echo 'Source #0 (libtorrent-rasterbar8-0.16.19.tar):' Source #0 (libtorrent-rasterbar8-0.16.19.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libtorrent-rasterbar8-0.16.19.tar + cd libtorrent-rasterbar8-0.16.19 + /bin/chmod -c -Rf u+rwX,go-w . + mkdir -p build-aux + touch build-aux/config.rpath + mv -f COPYING COPYING.orig ++ relative /usr/share/license/GPL-2 /usr/share/doc/libtorrent-rasterbar8/COPYING + ln -s ../../license/GPL-2 COPYING + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.34535 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libtorrent-rasterbar8-0.16.19 + export 'LDFLAGS= -L/lib -lrt' + LDFLAGS=' -L/lib -lrt' + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force -I m4 configure.ac:122: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2033: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2054: AC_CACHE_CHECK is expanded from... m4/ax_boost_system.m4:33: AX_BOOST_SYSTEM is expanded from... configure.ac:122: the top level configure.ac:457: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... m4/ax_check_openssl.m4:38: AX_CHECK_OPENSSL is expanded from... ../../lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:457: the top level configure.ac:556: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2033: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2054: AC_CACHE_CHECK is expanded from... m4/ax_boost_python.m4:62: AX_BOOST_PYTHON is expanded from... ../../lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:556: the top level configure.ac:122: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2033: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2054: AC_CACHE_CHECK is expanded from... m4/ax_boost_system.m4:33: AX_BOOST_SYSTEM is expanded from... configure.ac:122: the top level configure.ac:457: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... m4/ax_check_openssl.m4:38: AX_CHECK_OPENSSL is expanded from... ../../lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:457: the top level configure.ac:556: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2033: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2054: AC_CACHE_CHECK is expanded from... m4/ax_boost_python.m4:62: AX_BOOST_PYTHON is expanded from... ../../lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:556: the top level autoreconf-default: configure.ac: tracing configure.ac:122: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2033: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2054: AC_CACHE_CHECK is expanded from... m4/ax_boost_system.m4:33: AX_BOOST_SYSTEM is expanded from... configure.ac:122: the top level configure.ac:457: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... m4/ax_check_openssl.m4:38: AX_CHECK_OPENSSL is expanded from... ../../lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:457: the top level configure.ac:556: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2033: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2054: AC_CACHE_CHECK is expanded from... m4/ax_boost_python.m4:62: AX_BOOST_PYTHON is expanded from... ../../lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:556: the top level autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'. libtoolize-default: linking file `build-aux/config.guess' libtoolize-default: linking file `build-aux/config.sub' libtoolize-default: linking file `build-aux/install-sh' libtoolize-default: linking file `build-aux/ltmain.sh' libtoolize-default: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize-default: linking file `m4/libtool.m4' libtoolize-default: linking file `m4/ltoptions.m4' libtoolize-default: linking file `m4/ltsugar.m4' libtoolize-default: linking file `m4/ltversion.m4' libtoolize-default: linking file `m4/lt~obsolete.m4' autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc configure.ac:122: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2033: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2054: AC_CACHE_CHECK is expanded from... m4/ax_boost_system.m4:33: AX_BOOST_SYSTEM is expanded from... configure.ac:122: the top level configure.ac:457: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... m4/ax_check_openssl.m4:38: AX_CHECK_OPENSSL is expanded from... ../../lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:457: the top level configure.ac:556: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2033: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2054: AC_CACHE_CHECK is expanded from... m4/ax_boost_python.m4:62: AX_BOOST_PYTHON is expanded from... ../../lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:556: the top level configure.ac:122: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2033: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2054: AC_CACHE_CHECK is expanded from... m4/ax_boost_system.m4:33: AX_BOOST_SYSTEM is expanded from... configure.ac:122: the top level configure.ac:457: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... m4/ax_check_openssl.m4:38: AX_CHECK_OPENSSL is expanded from... ../../lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:457: the top level configure.ac:556: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2033: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2054: AC_CACHE_CHECK is expanded from... m4/ax_boost_python.m4:62: AX_BOOST_PYTHON is expanded from... ../../lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:556: the top level autoreconf-default: running: /usr/bin/autoconf-2.60 --force configure.ac:122: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2033: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2054: AC_CACHE_CHECK is expanded from... m4/ax_boost_system.m4:33: AX_BOOST_SYSTEM is expanded from... configure.ac:122: the top level configure.ac:457: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... m4/ax_check_openssl.m4:38: AX_CHECK_OPENSSL is expanded from... ../../lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:457: the top level configure.ac:556: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2033: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2054: AC_CACHE_CHECK is expanded from... m4/ax_boost_python.m4:62: AX_BOOST_PYTHON is expanded from... ../../lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:556: the top level autoreconf-default: configure.ac: not using Autoheader autoreconf-default: running: automake --add-missing --force-missing configure.ac:122: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2033: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2054: AC_CACHE_CHECK is expanded from... m4/ax_boost_system.m4:33: AX_BOOST_SYSTEM is expanded from... configure.ac:122: the top level configure.ac:457: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2663: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2680: AC_LINK_IFELSE is expanded from... m4/ax_check_openssl.m4:38: AX_CHECK_OPENSSL is expanded from... ../../lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:457: the top level configure.ac:556: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2592: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2608: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2033: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2054: AC_CACHE_CHECK is expanded from... m4/ax_boost_python.m4:62: AX_BOOST_PYTHON is expanded from... ../../lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:556: the top level src/Makefile.am:4: warning: source file 'kademlia/dht_tracker.cpp' is in a subdirectory, src/Makefile.am:4: but option 'subdir-objects' is disabled automake-default: warning: possible forward-incompatibility. automake-default: At least a source file is in a subdirectory, but the 'subdir-objects' automake-default: automake option hasn't been enabled. For now, the corresponding output automake-default: object file(s) will be placed in the top-level directory. However, automake-default: this behaviour will change in future Automake versions: they will automake-default: unconditionally cause object files to be placed in the same subdirectory automake-default: of the corresponding sources. automake-default: You are advised to start using 'subdir-objects' option throughout your automake-default: project, to avoid future incompatibilities. src/Makefile.am:4: warning: source file 'kademlia/find_data.cpp' is in a subdirectory, src/Makefile.am:4: but option 'subdir-objects' is disabled src/Makefile.am:4: warning: source file 'kademlia/node.cpp' is in a subdirectory, src/Makefile.am:4: but option 'subdir-objects' is disabled src/Makefile.am:4: warning: source file 'kademlia/node_id.cpp' is in a subdirectory, src/Makefile.am:4: but option 'subdir-objects' is disabled src/Makefile.am:4: warning: source file 'kademlia/refresh.cpp' is in a subdirectory, src/Makefile.am:4: but option 'subdir-objects' is disabled src/Makefile.am:4: warning: source file 'kademlia/routing_table.cpp' is in a subdirectory, src/Makefile.am:4: but option 'subdir-objects' is disabled src/Makefile.am:4: warning: source file 'kademlia/rpc_manager.cpp' is in a subdirectory, src/Makefile.am:4: but option 'subdir-objects' is disabled src/Makefile.am:4: warning: source file 'kademlia/traversal_algorithm.cpp' is in a subdirectory, src/Makefile.am:4: but option 'subdir-objects' is disabled autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1' + export FFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_prog_cc_static_works=no + lt_cv_prog_cc_static_works=no + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --disable-static --disable-debug --with-boost-libdir=/usr/lib --enable-python-binding configure: WARNING: unrecognized options: --without-included-gettext checking whether make supports nested variables... yes Building libtorrent-rasterbar 0.16.19 Checking for a C/C++ compiler to use: checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking how to run the C preprocessor... i586-alt-linux-gcc -E checking whether i586-alt-linux-gcc and cc understand -c and -o together... yes checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking whether i586-alt-linux-g++ understands -c and -o together... yes Checking system type: checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking target system type... i586-alt-linux-gnu Initializing Automake: checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of i586-alt-linux-gcc... none checking dependency style of i586-alt-linux-g++... none Initializing Libtool: checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for sysroot... no checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking for ld used by i586-alt-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i586-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-g++ static flag -static works... no checking if i586-alt-linux-g++ supports -c -o file.o... yes checking if i586-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate Checking for posix thread support: checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -lpthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking whether to check for GCC pthread/shared inconsistencies... yes checking whether -lpthread fixes that... yes Checking for visibility support: checking for __attribute__((visibility("hidden")))... found yes Checking for boost libraries: checking for boostlib >= 1.36... yes checking whether the Boost::System library is available... yes checking for exit in -lboost_system-mt... yes Checking for pkg-config: checking for i586-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.20... yes Checking for functions and headers: checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for gethostbyname... yes checking for gethostbyname_r... yes checking for clock_gettime... yes Checking build options: checking whether deprecated functions should be enabled... yes checking whether debug build should be enabled... no checking whether invariant check should be enabled... no checking whether logging to disk should be enabled... no checking whether statistics logging should be enabled... no checking whether disk activity logging should be enabled... no Checking features to be enabled: checking whether encryption support should be enabled... yes configure: encryption support: now checking for the OpenSSL library... checking for pkg-config... /usr/bin/pkg-config checking whether compiling and linking against OpenSSL works... yes checking whether geoip support should be enabled... yes checking whether dht support should be enabled... yes checking whether pool allocators should be enabled... yes Checking for extra build files: checking whether example files should be built... no checking whether test files should be built... no checking whether python bindings should be built... yes checking for a Python interpreter with version >= 2.4... python checking for python... /usr/bin/python checking for python version... 2.7 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages checking for python2.7... (cached) /usr/bin/python checking for a version of Python >= '2.1.0'... yes checking for a version of Python >= '2.4'... yes checking for the distutils Python package... yes checking for Python include path... -I/usr/include/python2.7 checking for Python library path... -L/usr/lib -lpython2.7 checking for Python site-packages path... /usr/lib/python2.7/site-packages checking python extra libraries... -lpthread -ldl -lutil checking consistency of all components of python development environment... yes checking whether the Boost::Python library is available... yes checking for main in -lboost_python... yes Checking for external libraries: checking for FIEMAP support... checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking for linux/fiemap.h... yes checking whether to link against system libgeoip... no checking whether to link against system libiconv... checking for shared library run path origin... done Generating Makefiles: checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/libtorrent/Makefile config.status: creating examples/Makefile config.status: creating test/Makefile config.status: creating tools/Makefile config.status: creating bindings/Makefile config.status: creating bindings/python/Makefile config.status: creating bindings/python/setup.py config.status: creating libtorrent-rasterbar.pc config.status: creating libtorrent-rasterbar-cmake.pc config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext Configure script has finished system check. Config results: -=-=-=-=-=-=-=-=- Package: name: libtorrent-rasterbar version: 0.16.19 svn revision: 10584 Build environment: build system: i586-alt-linux-gnu host system: i586-alt-linux-gnu target system: i586-alt-linux-gnu Compiler and linker flags: CPPFlags: -I/usr/include CFlags: -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden CXXFlags: -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden LDFlags: -L/usr/lib -L/lib -lrt -fvisibility=hidden -fvisibility-inlines-hidden Libs: -lpthread Defs: -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 Build options: deprecated functions: yes debug build: no invariant checks: no logging support: no statistics: no disk statistics: no Features: encryption support: yes geoip support: yes dht support: yes pool allocators: yes Extra builds: examples: no tests: no python bindings: yes Pthread library: CFlags: -pthread Libs: -lpthread Boost libraries: version: CPPFlags: -I/usr/include LDFlags: -L/usr/lib boost.system: -lboost_system-mt boost.python: -lboost_python Python environment: -automake- binary: /usr/bin/python version: 2.7 platform: linux2 prefix: ${prefix} exec_prefix: ${exec_prefix} pythondir: ${prefix}/lib/python2.7/site-packages pkgpythondir: ${pythondir}/libtorrent-rasterbar pyexecdir: ${exec_prefix}/lib/python2.7/site-packages pkgpyexecdir: ${pyexecdir}/libtorrent-rasterbar -m4- cppflags: -I/usr/include/python2.7 ldflags: -L/usr/lib -lpython2.7 extra libs: -lpthread -ldl -lutil extra ldflags: External libraries: system libgeoip: no system libiconv: no OpenSSL library: OpenSSL Libs: -lssl -lcrypto OpenSSL LDFlags: OpenSSL Includes: Type 'make' to compile libtorrent-rasterbar 0.16.19 or type 'make V=1' for verbose compiling and then 'make install' to install it into /usr + '[' -n '' ']' + NPROCS=1 + make -j1 V=1 make: Entering directory `/usr/src/RPM/BUILD/libtorrent-rasterbar8-0.16.19' Making all in include/libtorrent make[1]: Entering directory `/usr/src/RPM/BUILD/libtorrent-rasterbar8-0.16.19/include/libtorrent' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/RPM/BUILD/libtorrent-rasterbar8-0.16.19/include/libtorrent' Making all in src make[1]: Entering directory `/usr/src/RPM/BUILD/libtorrent-rasterbar8-0.16.19/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o web_connection_base.lo web_connection_base.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c web_connection_base.cpp -fPIC -DPIC -o .libs/web_connection_base.o In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from web_connection_base.cpp:40: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from web_connection_base.cpp:40: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from web_connection_base.cpp:40: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from web_connection_base.cpp:40: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from web_connection_base.cpp:40: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from web_connection_base.cpp:40: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from web_connection_base.cpp:40: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from web_connection_base.cpp:40: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/storage.hpp:54:0, from ../include/libtorrent/web_connection_base.hpp:63, from web_connection_base.cpp:40: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/storage.hpp:54, from ../include/libtorrent/web_connection_base.hpp:63, from web_connection_base.cpp:40: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/web_connection_base.hpp:67, from web_connection_base.cpp:40: ../include/libtorrent/aux_/session_impl.hpp: At global scope: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/web_connection_base.hpp:67, from web_connection_base.cpp:40: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:41:0: ../include/libtorrent/session.hpp:465:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:41:0: ../include/libtorrent/session.hpp:486:53: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const& fun); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_rename_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_delete_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_get_peers_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_need_cert_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_connection_base.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_connection_base.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o alert.lo alert.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c alert.cpp -fPIC -DPIC -o .libs/alert.o In file included from alert.cpp:38:0: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:38:0: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:38:0: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:38:0: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:38:0: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:38:0: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:38:0: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:38:0: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/alert_types.hpp:37, from alert.cpp:39: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/alert_types.hpp:37, from alert.cpp:39: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:120:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_added_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:120:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_added_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:132:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_removed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:132:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_removed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:148:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(read_piece_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:148:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(read_piece_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:167:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_completed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:167:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_completed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:185:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_renamed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:185:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_renamed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:205:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_rename_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_rename_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:205:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_rename_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:246:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(performance_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:246:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(performance_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:265:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_changed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:265:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_changed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:292:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:292:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:312:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_warning_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:312:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_warning_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:331:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:331:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:355:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:355:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(scrape_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:372:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:372:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:387:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:387:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_reply_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:402:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:402:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(tracker_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:418:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(hash_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:418:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(hash_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:433:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_ban_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:433:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_ban_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:445:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_unsnubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:445:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_unsnubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:457:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_snubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:457:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_snubbed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:474:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:474:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:496:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_connect_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:496:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_connect_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:515:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_disconnected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:515:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_disconnected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:535:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(invalid_request_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:535:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(invalid_request_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:549:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:549:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:565:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(piece_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:565:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(piece_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:582:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(request_dropped_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:582:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(request_dropped_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:601:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_timeout_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:601:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_timeout_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:620:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:620:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_finished_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:639:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_downloading_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:639:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(block_downloading_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:658:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(unwanted_block_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:658:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(unwanted_block_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:673:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:673:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:692:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:692:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(storage_moved_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:710:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_deleted_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:710:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_deleted_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:730:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_delete_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_delete_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:730:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_delete_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:755:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(save_resume_data_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:755:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(save_resume_data_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:777:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(save_resume_data_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:777:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(save_resume_data_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:801:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_paused_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:801:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_paused_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:813:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_resumed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:813:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_resumed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:826:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_checked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:826:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_checked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:853:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(url_seed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:853:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(url_seed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:881:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:881:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(file_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:906:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:906:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:920:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_received_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:920:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(metadata_received_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:936:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(udp_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:936:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(udp_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:955:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(external_ip_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:955:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(external_ip_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:976:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:976:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_failed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:992:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_succeeded_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:992:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(listen_succeeded_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1011:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1011:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1031:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1031:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1047:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_log_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1047:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(portmap_log_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1068:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(fastresume_rejected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1068:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(fastresume_rejected_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1089:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_blocked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1089:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(peer_blocked_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1110:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1110:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_announce_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1126:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_get_peers_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_get_peers_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1126:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_get_peers_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1139:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(stats_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1139:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(stats_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1169:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(cache_flushed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1169:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(cache_flushed_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1183:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(anonymous_mode_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1183:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(anonymous_mode_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1204:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(lsd_peer_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1204:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(lsd_peer_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1219:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(trackerid_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1219:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(trackerid_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1231:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_bootstrap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1231:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(dht_bootstrap_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1243:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1243:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(rss_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1267:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1267:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_error_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1281:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_need_cert_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_need_cert_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1281:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(torrent_need_cert_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1297:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(incoming_connection_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1297:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(incoming_connection_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1314:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(add_torrent_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1314:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(add_torrent_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1326:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1326:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(state_update_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:1338:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(i2p_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from alert.cpp:39:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:1338:3: note: in expansion of macro 'TORRENT_DEFINE_ALERT' TORRENT_DEFINE_ALERT(i2p_alert); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ alert.cpp: At global scope: alert.cpp:382:70: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void alert_manager::set_dispatch_function(boost::function)> const& fun) ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ alert.cpp: In member function 'void libtorrent::alert_manager::set_dispatch_function(const boost::function)>&)': alert.cpp:395:21: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] m_dispatch(std::auto_ptr(alerts.front())); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ alert.cpp: In function 'void libtorrent::dispatch_alert(boost::function, libtorrent::alert*)': alert.cpp:404:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr holder(alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ alert.cpp: In member function 'void libtorrent::alert_manager::post_alert_ptr(libtorrent::alert*)': alert.cpp:410:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr a(alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ alert.cpp: In member function 'void libtorrent::alert_manager::post_alert(const libtorrent::alert&)': alert.cpp:428:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr a(alert_.clone()); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ alert.cpp: At global scope: alert.cpp:444:37: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void alert_manager::post_impl(std::auto_ptr& alert_) ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ alert.cpp:466:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr alert_manager::get() ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ alert.cpp: In member function 'std::auto_ptr libtorrent::alert_manager::get()': alert.cpp:471:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return std::auto_ptr(0); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ alert.cpp:475:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] return std::auto_ptr(result); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from ../include/libtorrent/alert.hpp:36, from alert.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o allocator.lo allocator.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c allocator.cpp -fPIC -DPIC -o .libs/allocator.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o asio.lo asio.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c asio.cpp -fPIC -DPIC -o .libs/asio.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o assert.lo assert.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c assert.cpp -fPIC -DPIC -o .libs/assert.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o bandwidth_limit.lo bandwidth_limit.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c bandwidth_limit.cpp -fPIC -DPIC -o .libs/bandwidth_limit.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o bandwidth_manager.lo bandwidth_manager.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c bandwidth_manager.cpp -fPIC -DPIC -o .libs/bandwidth_manager.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o bandwidth_queue_entry.lo bandwidth_queue_entry.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c bandwidth_queue_entry.cpp -fPIC -DPIC -o .libs/bandwidth_queue_entry.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o bloom_filter.lo bloom_filter.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c bloom_filter.cpp -fPIC -DPIC -o .libs/bloom_filter.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o broadcast_socket.lo broadcast_socket.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c broadcast_socket.cpp -fPIC -DPIC -o .libs/broadcast_socket.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o bt_peer_connection.lo bt_peer_connection.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c bt_peer_connection.cpp -fPIC -DPIC -o .libs/bt_peer_connection.o In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/bt_peer_connection.hpp:59, from bt_peer_connection.cpp:44: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/bt_peer_connection.hpp:59, from bt_peer_connection.cpp:44: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/bt_peer_connection.hpp:59, from bt_peer_connection.cpp:44: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/bt_peer_connection.hpp:59, from bt_peer_connection.cpp:44: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/bt_peer_connection.hpp:59, from bt_peer_connection.cpp:44: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/bt_peer_connection.hpp:59, from bt_peer_connection.cpp:44: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/bt_peer_connection.hpp:59, from bt_peer_connection.cpp:44: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/bt_peer_connection.hpp:59, from bt_peer_connection.cpp:44: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/torrent.hpp:57, from ../include/libtorrent/bt_peer_connection.hpp:64, from bt_peer_connection.cpp:44: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/torrent.hpp:57, from ../include/libtorrent/bt_peer_connection.hpp:64, from bt_peer_connection.cpp:44: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from bt_peer_connection.cpp:44: ../include/libtorrent/aux_/session_impl.hpp: At global scope: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from bt_peer_connection.cpp:44: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:45:0: ../include/libtorrent/session.hpp:465:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:45:0: ../include/libtorrent/session.hpp:486:53: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const& fun); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_rename_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_delete_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_get_peers_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_need_cert_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from bt_peer_connection.cpp:49:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from bt_peer_connection.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o chained_buffer.lo chained_buffer.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c chained_buffer.cpp -fPIC -DPIC -o .libs/chained_buffer.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o connection_queue.lo connection_queue.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c connection_queue.cpp -fPIC -DPIC -o .libs/connection_queue.o connection_queue.cpp: In member function 'void libtorrent::connection_queue::try_connect(boost::asio::detail::posix_mutex::scoped_lock&)': connection_queue.cpp:209:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_queue.size() == m_num_connecting) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ connection_queue.cpp:245:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_num_connecting == m_queue.size()) break; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o ConvertUTF.lo ConvertUTF.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c ConvertUTF.cpp -fPIC -DPIC -o .libs/ConvertUTF.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o create_torrent.lo create_torrent.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c create_torrent.cpp -fPIC -DPIC -o .libs/create_torrent.o In file included from ../include/libtorrent/storage.hpp:54:0, from ../include/libtorrent/create_torrent.hpp:40, from create_torrent.cpp:33: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/create_torrent.hpp:38:0, from create_torrent.cpp:33: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o disk_buffer_holder.lo disk_buffer_holder.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c disk_buffer_holder.cpp -fPIC -DPIC -o .libs/disk_buffer_holder.o In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/aux_/session_impl.hpp:60, from disk_buffer_holder.cpp:34: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/aux_/session_impl.hpp:60, from disk_buffer_holder.cpp:34: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from disk_buffer_holder.cpp:34: ../include/libtorrent/alert.hpp: At global scope: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from /usr/include/boost/pool/detail/mutex.hpp:14, from /usr/include/boost/pool/poolfwd.hpp:24, from /usr/include/boost/pool/object_pool.hpp:18, from ../include/libtorrent/aux_/session_impl.hpp:54, from disk_buffer_holder.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from disk_buffer_holder.cpp:34: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from /usr/include/boost/pool/detail/mutex.hpp:14, from /usr/include/boost/pool/poolfwd.hpp:24, from /usr/include/boost/pool/object_pool.hpp:18, from ../include/libtorrent/aux_/session_impl.hpp:54, from disk_buffer_holder.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from disk_buffer_holder.cpp:34: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from /usr/include/boost/pool/detail/mutex.hpp:14, from /usr/include/boost/pool/poolfwd.hpp:24, from /usr/include/boost/pool/object_pool.hpp:18, from ../include/libtorrent/aux_/session_impl.hpp:54, from disk_buffer_holder.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from disk_buffer_holder.cpp:34: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from /usr/include/boost/pool/detail/mutex.hpp:14, from /usr/include/boost/pool/poolfwd.hpp:24, from /usr/include/boost/pool/object_pool.hpp:18, from ../include/libtorrent/aux_/session_impl.hpp:54, from disk_buffer_holder.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from disk_buffer_holder.cpp:34: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from /usr/include/boost/pool/detail/mutex.hpp:14, from /usr/include/boost/pool/poolfwd.hpp:24, from /usr/include/boost/pool/object_pool.hpp:18, from ../include/libtorrent/aux_/session_impl.hpp:54, from disk_buffer_holder.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from disk_buffer_holder.cpp:34: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from /usr/include/boost/pool/detail/mutex.hpp:14, from /usr/include/boost/pool/poolfwd.hpp:24, from /usr/include/boost/pool/object_pool.hpp:18, from ../include/libtorrent/aux_/session_impl.hpp:54, from disk_buffer_holder.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from disk_buffer_holder.cpp:34: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from /usr/include/boost/pool/detail/mutex.hpp:14, from /usr/include/boost/pool/poolfwd.hpp:24, from /usr/include/boost/pool/object_pool.hpp:18, from ../include/libtorrent/aux_/session_impl.hpp:54, from disk_buffer_holder.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from disk_buffer_holder.cpp:34: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from /usr/include/boost/pool/detail/mutex.hpp:14, from /usr/include/boost/pool/poolfwd.hpp:24, from /usr/include/boost/pool/object_pool.hpp:18, from ../include/libtorrent/aux_/session_impl.hpp:54, from disk_buffer_holder.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from disk_buffer_holder.cpp:34:0: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from /usr/include/boost/pool/detail/mutex.hpp:14, from /usr/include/boost/pool/poolfwd.hpp:24, from /usr/include/boost/pool/object_pool.hpp:18, from ../include/libtorrent/aux_/session_impl.hpp:54, from disk_buffer_holder.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from disk_buffer_holder.cpp:34:0: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from /usr/include/boost/pool/detail/mutex.hpp:14, from /usr/include/boost/pool/poolfwd.hpp:24, from /usr/include/boost/pool/object_pool.hpp:18, from ../include/libtorrent/aux_/session_impl.hpp:54, from disk_buffer_holder.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o disk_buffer_pool.lo disk_buffer_pool.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c disk_buffer_pool.cpp -fPIC -DPIC -o .libs/disk_buffer_pool.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o disk_io_thread.lo disk_io_thread.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c disk_io_thread.cpp -fPIC -DPIC -o .libs/disk_io_thread.o In file included from ../include/libtorrent/storage.hpp:54:0, from disk_io_thread.cpp:37: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/storage.hpp:54, from disk_io_thread.cpp:37: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ disk_io_thread.cpp: In member function 'void libtorrent::disk_io_thread::thread_fun()': disk_io_thread.cpp:1580:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_sorted_read_jobs.size() > unchoke_limit * 2) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ disk_io_thread.cpp:2205:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret = flush_range(const_cast(*i), 0, INT_MAX, l); ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o entry.lo entry.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c entry.cpp -fPIC -DPIC -o .libs/entry.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o enum_net.lo enum_net.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c enum_net.cpp -fPIC -DPIC -o .libs/enum_net.o enum_net.cpp: In function 'int libtorrent::{anonymous}::read_nl_sock(int, char*, int, int, int)': enum_net.cpp:161:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] } while((nl_hdr->nlmsg_seq != seq) || (nl_hdr->nlmsg_pid != pid)); ~~~~~~~~~~~~~~~~~~^~~~~~ enum_net.cpp:161:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] } while((nl_hdr->nlmsg_seq != seq) || (nl_hdr->nlmsg_pid != pid)); ~~~~~~~~~~~~~~~~~~^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o error_code.lo error_code.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c error_code.cpp -fPIC -DPIC -o .libs/error_code.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o escape_string.lo escape_string.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c escape_string.cpp -fPIC -DPIC -o .libs/escape_string.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o file.lo file.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c file.cpp -fPIC -DPIC -o .libs/file.o file.cpp: In member function 'void libtorrent::directory::next(boost::system::error_code&)': file.cpp:886:7: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations] if (readdir_r(m_handle, &m_dirent, &dummy) != 0) ^~~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cstddef:49, from /usr/include/boost/config/select_stdlib_config.hpp:18, from /usr/include/boost/config.hpp:44, from ../include/libtorrent/config.hpp:36, from file.cpp:48: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ file.cpp:886:44: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations] if (readdir_r(m_handle, &m_dirent, &dummy) != 0) ^ In file included from /usr/include/features.h:368:0, from /usr/include/c++/6/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/6/i586-alt-linux/bits/c++config.h:507, from /usr/include/c++/6/cstddef:49, from /usr/include/boost/config/select_stdlib_config.hpp:18, from /usr/include/boost/config.hpp:44, from ../include/libtorrent/config.hpp:36, from file.cpp:48: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ file.cpp: In member function 'libtorrent::size_type libtorrent::file::phys_offset(libtorrent::size_type)': file.cpp:1904:29: warning: array subscript is above array bounds [-Warray-bounds] if (fm.fiemap.fm_extents[0].fe_flags & FIEMAP_EXTENT_UNKNOWN) ~~~~~~~~~~~~~~~~~~~~~~^ file.cpp:1911:32: warning: array subscript is above array bounds [-Warray-bounds] return fm.fiemap.fm_extents[0].fe_physical + (offset - fm.fiemap.fm_extents[0].fe_logical); ~~~~~~~~~~~~~~~~~~~~~~^ file.cpp:1911:80: warning: array subscript is above array bounds [-Warray-bounds] return fm.fiemap.fm_extents[0].fe_physical + (offset - fm.fiemap.fm_extents[0].fe_logical); ~~~~~~~~~~~~~~~~~~~~~~^ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o file_pool.lo file_pool.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c file_pool.cpp -fPIC -DPIC -o .libs/file_pool.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o file_storage.lo file_storage.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c file_storage.cpp -fPIC -DPIC -o .libs/file_storage.o file_storage.cpp: In member function 'std::vector libtorrent::file_storage::map_block(int, libtorrent::size_type, int) const': file_storage.cpp:264:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (file_offset < file_iter->size) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ file_storage.cpp: In member function 'void libtorrent::file_storage::optimize(int)': file_storage.cpp:630:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] && i->size > pad_file_limit ~~~~~~~~^~~~~~~~~~~~~~~~ file_storage.cpp:643:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (j->size > pad_size) continue; ~~~~~~~~^~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o gzip.lo gzip.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c gzip.cpp -fPIC -DPIC -o .libs/gzip.o gzip.cpp: In function 'bool libtorrent::inflate_gzip(const char*, int, std::vector&, int, std::__cxx11::string&)': gzip.cpp:172:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (destlen == maximum_size) ~~~~~~~~^~~~~~~~~~~~~~~ gzip.cpp:179:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (destlen > maximum_size) ~~~~~~~~^~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o http_connection.lo http_connection.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c http_connection.cpp -fPIC -DPIC -o .libs/http_connection.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o http_parser.lo http_parser.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c http_parser.cpp -fPIC -DPIC -o .libs/http_parser.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o http_seed_connection.lo http_seed_connection.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c http_seed_connection.cpp -fPIC -DPIC -o .libs/http_seed_connection.o In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from ../include/libtorrent/http_seed_connection.hpp:59, from http_seed_connection.cpp:39: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from ../include/libtorrent/http_seed_connection.hpp:59, from http_seed_connection.cpp:39: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from ../include/libtorrent/http_seed_connection.hpp:59, from http_seed_connection.cpp:39: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from ../include/libtorrent/http_seed_connection.hpp:59, from http_seed_connection.cpp:39: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from ../include/libtorrent/http_seed_connection.hpp:59, from http_seed_connection.cpp:39: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from ../include/libtorrent/http_seed_connection.hpp:59, from http_seed_connection.cpp:39: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from ../include/libtorrent/http_seed_connection.hpp:59, from http_seed_connection.cpp:39: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from ../include/libtorrent/http_seed_connection.hpp:59, from http_seed_connection.cpp:39: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/storage.hpp:54:0, from ../include/libtorrent/web_connection_base.hpp:63, from ../include/libtorrent/http_seed_connection.hpp:59, from http_seed_connection.cpp:39: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/storage.hpp:54, from ../include/libtorrent/web_connection_base.hpp:63, from ../include/libtorrent/http_seed_connection.hpp:59, from http_seed_connection.cpp:39: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/web_connection_base.hpp:67, from ../include/libtorrent/http_seed_connection.hpp:59, from http_seed_connection.cpp:39: ../include/libtorrent/aux_/session_impl.hpp: At global scope: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/web_connection_base.hpp:67, from ../include/libtorrent/http_seed_connection.hpp:59, from http_seed_connection.cpp:39: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:40:0: ../include/libtorrent/session.hpp:465:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:40:0: ../include/libtorrent/session.hpp:486:53: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const& fun); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_rename_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_delete_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_get_peers_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_need_cert_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from http_seed_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from http_seed_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o http_stream.lo http_stream.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c http_stream.cpp -fPIC -DPIC -o .libs/http_stream.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o http_tracker_connection.lo http_tracker_connection.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c http_tracker_connection.cpp -fPIC -DPIC -o .libs/http_tracker_connection.o In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/torrent.hpp:57, from http_tracker_connection.cpp:58: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/torrent.hpp:57, from http_tracker_connection.cpp:58: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from http_tracker_connection.cpp:58: ../include/libtorrent/alert.hpp: At global scope: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from ../include/libtorrent/socket_io.hpp:36, from http_tracker_connection.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from http_tracker_connection.cpp:58: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from ../include/libtorrent/socket_io.hpp:36, from http_tracker_connection.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from http_tracker_connection.cpp:58: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from ../include/libtorrent/socket_io.hpp:36, from http_tracker_connection.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from http_tracker_connection.cpp:58: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from ../include/libtorrent/socket_io.hpp:36, from http_tracker_connection.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from http_tracker_connection.cpp:58: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from ../include/libtorrent/socket_io.hpp:36, from http_tracker_connection.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from http_tracker_connection.cpp:58: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from ../include/libtorrent/socket_io.hpp:36, from http_tracker_connection.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from http_tracker_connection.cpp:58: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from ../include/libtorrent/socket_io.hpp:36, from http_tracker_connection.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from http_tracker_connection.cpp:58: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from ../include/libtorrent/socket_io.hpp:36, from http_tracker_connection.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from http_tracker_connection.cpp:58: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from ../include/libtorrent/socket_io.hpp:36, from http_tracker_connection.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from http_tracker_connection.cpp:58: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from ../include/libtorrent/socket_io.hpp:36, from http_tracker_connection.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o i2p_stream.lo i2p_stream.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c i2p_stream.cpp -fPIC -DPIC -o .libs/i2p_stream.o i2p_stream.cpp: In member function 'void libtorrent::i2p_stream::read_line(const boost::system::error_code&, boost::shared_ptr >)': i2p_stream.cpp:337:15: warning: variable 'message' set but not used [-Wunused-but-set-variable] char const* message = 0; ^~~~~~~ i2p_stream.cpp:338:9: warning: variable 'version' set but not used [-Wunused-but-set-variable] float version = 3.0f; ^~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o identify_client.lo identify_client.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c identify_client.cpp -fPIC -DPIC -o .libs/identify_client.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o instantiate_connection.lo instantiate_connection.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c instantiate_connection.cpp -fPIC -DPIC -o .libs/instantiate_connection.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o ip_filter.lo ip_filter.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c ip_filter.cpp -fPIC -DPIC -o .libs/ip_filter.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o lazy_bdecode.lo lazy_bdecode.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c lazy_bdecode.cpp -fPIC -DPIC -o .libs/lazy_bdecode.o lazy_bdecode.cpp: In member function 'libtorrent::lazy_entry* libtorrent::lazy_entry::dict_find(const string&)': lazy_bdecode.cpp:410:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (name.size() != e.val.m_begin - e.name) continue; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o logger.lo logger.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c logger.cpp -fPIC -DPIC -o .libs/logger.o In file included from ../include/libtorrent/peer_connection.hpp:66:0, from logger.cpp:58: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from logger.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from logger.cpp:58: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from logger.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from logger.cpp:58: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from logger.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from logger.cpp:58: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from logger.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from logger.cpp:58: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from logger.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from logger.cpp:58: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from logger.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from logger.cpp:58: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from logger.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from logger.cpp:58: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from logger.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o lsd.lo lsd.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c lsd.cpp -fPIC -DPIC -o .libs/lsd.o lsd.cpp: In member function 'void libtorrent::lsd::on_announce(const endpoint&, char*, std::size_t)': lsd.cpp:223:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (cookie == m_cookie) ~~~~~~~^~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o lt_trackers.lo lt_trackers.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c lt_trackers.cpp -fPIC -DPIC -o .libs/lt_trackers.o In file included from ../include/libtorrent/peer_connection.hpp:66:0, from lt_trackers.cpp:52: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from lt_trackers.cpp:52: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from lt_trackers.cpp:52: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from lt_trackers.cpp:52: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from lt_trackers.cpp:52: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from lt_trackers.cpp:52: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from lt_trackers.cpp:52: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from lt_trackers.cpp:52: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/torrent.hpp:57, from ../include/libtorrent/bt_peer_connection.hpp:64, from lt_trackers.cpp:53: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/torrent.hpp:57, from ../include/libtorrent/bt_peer_connection.hpp:64, from lt_trackers.cpp:53: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from lt_trackers.cpp:53: ../include/libtorrent/aux_/session_impl.hpp: At global scope: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from lt_trackers.cpp:53: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_rename_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_delete_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_get_peers_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_need_cert_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lt_trackers.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from lt_trackers.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o magnet_uri.lo magnet_uri.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c magnet_uri.cpp -fPIC -DPIC -o .libs/magnet_uri.o In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/magnet_uri.hpp:38, from magnet_uri.cpp:33: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/magnet_uri.hpp:38, from magnet_uri.cpp:33: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from magnet_uri.cpp:34: ../include/libtorrent/alert.hpp: At global scope: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/magnet_uri.hpp:38, from magnet_uri.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from magnet_uri.cpp:34: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/magnet_uri.hpp:38, from magnet_uri.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from magnet_uri.cpp:34: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/magnet_uri.hpp:38, from magnet_uri.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from magnet_uri.cpp:34: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/magnet_uri.hpp:38, from magnet_uri.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from magnet_uri.cpp:34: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/magnet_uri.hpp:38, from magnet_uri.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from magnet_uri.cpp:34: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/magnet_uri.hpp:38, from magnet_uri.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from magnet_uri.cpp:34: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/magnet_uri.hpp:38, from magnet_uri.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from magnet_uri.cpp:34: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/magnet_uri.hpp:38, from magnet_uri.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from magnet_uri.cpp:34:0: ../include/libtorrent/session.hpp:465:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/magnet_uri.hpp:38, from magnet_uri.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from magnet_uri.cpp:34:0: ../include/libtorrent/session.hpp:486:53: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const& fun); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/magnet_uri.hpp:38, from magnet_uri.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ magnet_uri.cpp: In function 'std::__cxx11::string libtorrent::make_magnet_uri(const libtorrent::torrent_handle&)': magnet_uri.cpp:54:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!name.empty() && sizeof(ret) - 5 > num_chars) ~~~~~~~~~~^~~~~~~~~~~ magnet_uri.cpp:62:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (num_chars >= sizeof(ret)) break; ~~~~~~~~~~^~~~~~~~~~ magnet_uri.cpp: In function 'std::__cxx11::string libtorrent::make_magnet_uri(const libtorrent::torrent_info&)': magnet_uri.cpp:79:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!name.empty() && sizeof(ret) - 5 > num_chars) ~~~~~~~~~~^~~~~~~~~~~ magnet_uri.cpp:86:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (num_chars >= sizeof(ret)) break; ~~~~~~~~~~^~~~~~~~~~ magnet_uri.cpp: In function 'libtorrent::torrent_handle libtorrent::add_magnet_uri(libtorrent::session&, const string&, const string&, libtorrent::storage_mode_t, bool, libtorrent::storage_constructor_type, void*)': magnet_uri.cpp:123:40: warning: 'libtorrent::torrent_handle libtorrent::session::add_torrent(const char*, const sha1_hash&, const char*, const string&, const libtorrent::entry&, libtorrent::storage_mode_t, bool, libtorrent::storage_constructor_type, void*)' is deprecated [-Wdeprecated-declarations] , storage_mode, paused, sc, userdata); ^ In file included from magnet_uri.cpp:34:0: ../include/libtorrent/session.hpp:234:18: note: declared here torrent_handle add_torrent( ^~~~~~~~~~~ magnet_uri.cpp: In function 'libtorrent::torrent_handle libtorrent::add_magnet_uri(libtorrent::session&, const string&, libtorrent::add_torrent_params)': magnet_uri.cpp:130:54: warning: 'libtorrent::torrent_handle libtorrent::add_magnet_uri(libtorrent::session&, const string&, libtorrent::add_torrent_params, boost::system::error_code&)' is deprecated [-Wdeprecated-declarations] torrent_handle ret = add_magnet_uri(ses, uri, p, ec); ^ In file included from magnet_uri.cpp:33:0: ../include/libtorrent/magnet_uri.hpp:68:32: note: declared here torrent_handle TORRENT_EXPORT add_magnet_uri(session& ses, std::string const& uri ^~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o metadata_transfer.lo metadata_transfer.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c metadata_transfer.cpp -fPIC -DPIC -o .libs/metadata_transfer.o In file included from ../include/libtorrent/peer_connection.hpp:66:0, from metadata_transfer.cpp:52: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from metadata_transfer.cpp:52: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from metadata_transfer.cpp:52: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from metadata_transfer.cpp:52: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from metadata_transfer.cpp:52: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from metadata_transfer.cpp:52: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from metadata_transfer.cpp:52: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from metadata_transfer.cpp:52: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/torrent.hpp:57, from ../include/libtorrent/bt_peer_connection.hpp:64, from metadata_transfer.cpp:53: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/torrent.hpp:57, from ../include/libtorrent/bt_peer_connection.hpp:64, from metadata_transfer.cpp:53: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from metadata_transfer.cpp:53: ../include/libtorrent/aux_/session_impl.hpp: At global scope: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from metadata_transfer.cpp:53: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_rename_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_delete_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_get_peers_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_need_cert_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from metadata_transfer.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from metadata_transfer.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -c -o mpi.lo mpi.c libtool: compile: i586-alt-linux-gcc -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -c mpi.c -fPIC -DPIC -o .libs/mpi.o cc1: warning: command line option '-ftemplate-depth=100' is valid for C++/ObjC++ but not for C /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o natpmp.lo natpmp.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c natpmp.cpp -fPIC -DPIC -o .libs/natpmp.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o parse_url.lo parse_url.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c parse_url.cpp -fPIC -DPIC -o .libs/parse_url.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o pe_crypto.lo pe_crypto.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c pe_crypto.cpp -fPIC -DPIC -o .libs/pe_crypto.o pe_crypto.cpp: In constructor 'libtorrent::dh_key_exchange::dh_key_exchange()': pe_crypto.cpp:113:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < sizeof(m_dh_local_secret); ++i) ~~^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o peer_connection.lo peer_connection.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c peer_connection.cpp -fPIC -DPIC -o .libs/peer_connection.o In file included from ../include/libtorrent/peer_connection.hpp:66:0, from peer_connection.cpp:40: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from peer_connection.cpp:40: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from peer_connection.cpp:40: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from peer_connection.cpp:40: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from peer_connection.cpp:40: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from peer_connection.cpp:40: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from peer_connection.cpp:40: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from peer_connection.cpp:40: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/alert_types.hpp:37, from peer_connection.cpp:44: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/alert_types.hpp:37, from peer_connection.cpp:44: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_rename_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_delete_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_get_peers_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_need_cert_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:44:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:50:0: ../include/libtorrent/aux_/session_impl.hpp: At global scope: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from peer_connection.cpp:50:0: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o piece_picker.lo piece_picker.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c piece_picker.cpp -fPIC -DPIC -o .libs/piece_picker.o piece_picker.cpp: In member function 'void libtorrent::piece_picker::dec_refcount(int)': piece_picker.cpp:931:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < m_piece_map.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ piece_picker.cpp: In member function 'void libtorrent::piece_picker::dec_refcount(const libtorrent::bitfield&)': piece_picker.cpp:982:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < m_piece_map.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ piece_picker.cpp: In member function 'void libtorrent::piece_picker::pick_pieces(const libtorrent::bitfield&, std::vector&, int, int, void*, libtorrent::piece_picker::piece_state_t, int, const std::vector&, int) const': piece_picker.cpp:1405:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_downloads.size() > num_peers * 3 / 2) options |= prioritize_partials; ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ piece_picker.cpp:1443:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] && backup_blocks.size() >= num_blocks ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ piece_picker.cpp:1444:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] && backup_blocks2.size() >= num_blocks) ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o packet_buffer.lo packet_buffer.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c packet_buffer.cpp -fPIC -DPIC -o .libs/packet_buffer.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o policy.lo policy.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c policy.cpp -fPIC -DPIC -o .libs/policy.o In file included from ../include/libtorrent/peer_connection.hpp:66:0, from policy.cpp:46: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from policy.cpp:46: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from policy.cpp:46: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from policy.cpp:46: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from policy.cpp:46: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from policy.cpp:46: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from policy.cpp:46: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from policy.cpp:46: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/storage.hpp:54:0, from ../include/libtorrent/web_connection_base.hpp:63, from ../include/libtorrent/web_peer_connection.hpp:58, from policy.cpp:47: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/storage.hpp:54, from ../include/libtorrent/web_connection_base.hpp:63, from ../include/libtorrent/web_peer_connection.hpp:58, from policy.cpp:47: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/web_connection_base.hpp:67, from ../include/libtorrent/web_peer_connection.hpp:58, from policy.cpp:47: ../include/libtorrent/aux_/session_impl.hpp: At global scope: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/web_connection_base.hpp:67, from ../include/libtorrent/web_peer_connection.hpp:58, from policy.cpp:47: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_rename_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_delete_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_get_peers_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_need_cert_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from policy.cpp:51:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from policy.cpp:39: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ policy.cpp: In member function 'void libtorrent::policy::ip_filter_updated()': policy.cpp:394:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_peers.size() < count) ~~~~~~~~~~~~~~~^~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o puff.lo puff.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c puff.cpp -fPIC -DPIC -o .libs/puff.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o random.lo random.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c random.cpp -fPIC -DPIC -o .libs/random.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o rsa.lo rsa.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c rsa.cpp -fPIC -DPIC -o .libs/rsa.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o rss.lo rss.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c rss.cpp -fPIC -DPIC -o .libs/rss.o In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from rss.cpp:37: ../include/libtorrent/alert.hpp: At global scope: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from rss.cpp:37: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from rss.cpp:37: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from rss.cpp:37: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from rss.cpp:37: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from rss.cpp:37: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from rss.cpp:37: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from rss.cpp:37: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:37:0: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:37:0: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:38:0: ../include/libtorrent/session.hpp:465:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:38:0: ../include/libtorrent/session.hpp:486:53: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const& fun); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_rename_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_delete_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_get_peers_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_need_cert_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from rss.cpp:40:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16, from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/include/boost/date_time/posix_time/posix_time_duration.hpp:12, from ../include/libtorrent/torrent_handle.hpp:44, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from /usr/include/dirent.h:245:0, from ../include/libtorrent/file.hpp:78, from ../include/libtorrent/storage.hpp:60, from ../include/libtorrent/torrent_handle.hpp:57, from ../include/libtorrent/rss.hpp:36, from rss.cpp:33: rss.cpp: At global scope: rss.cpp:455:45: warning: offsetof within non-standard-layout type 'libtorrent::feed' is undefined [-Winvalid-offsetof] #define TORRENT_SETTING(t, x) {#x, offsetof(feed,x), t}, ^ rss.cpp:458:3: note: in expansion of macro 'TORRENT_SETTING' TORRENT_SETTING(std_string, m_title) ^ rss.cpp:455:45: warning: offsetof within non-standard-layout type 'libtorrent::feed' is undefined [-Winvalid-offsetof] #define TORRENT_SETTING(t, x) {#x, offsetof(feed,x), t}, ^ rss.cpp:459:3: note: in expansion of macro 'TORRENT_SETTING' TORRENT_SETTING(std_string, m_description) ^ rss.cpp:455:45: warning: offsetof within non-standard-layout type 'libtorrent::feed' is undefined [-Winvalid-offsetof] #define TORRENT_SETTING(t, x) {#x, offsetof(feed,x), t}, ^ rss.cpp:460:3: note: in expansion of macro 'TORRENT_SETTING' TORRENT_SETTING(time_integer, m_last_attempt) ^ rss.cpp:455:45: warning: offsetof within non-standard-layout type 'libtorrent::feed' is undefined [-Winvalid-offsetof] #define TORRENT_SETTING(t, x) {#x, offsetof(feed,x), t}, ^ rss.cpp:461:3: note: in expansion of macro 'TORRENT_SETTING' TORRENT_SETTING(time_integer, m_last_update) ^ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o session.lo session.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c session.cpp -fPIC -DPIC -o .libs/session.o In file included from session.cpp:58:0: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from session.cpp:58: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from session.cpp:63: ../include/libtorrent/alert.hpp: At global scope: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from session.cpp:63: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from session.cpp:63: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from session.cpp:63: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from session.cpp:63: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from session.cpp:63: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from session.cpp:63: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from session.cpp:63: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:63:0: ../include/libtorrent/session.hpp:465:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:63:0: ../include/libtorrent/session.hpp:486:53: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const& fun); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_rename_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_delete_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_get_peers_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_need_cert_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session.cpp:66:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from session.cpp:69: ../include/libtorrent/aux_/session_impl.hpp: At global scope: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from session.cpp:69: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ session.cpp:1028:61: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void session::set_alert_dispatch(boost::function)> const& fun) ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ session.cpp:1033:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr session::pop_alert() ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o session_impl.lo session_impl.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c session_impl.cpp -fPIC -DPIC -o .libs/session_impl.o session_impl.cpp:2777:2: warning: multi-line comment [-Wcomment] // openssl s_client -cert .pem -key .pem \ ^ In file included from session_impl.cpp:54:0: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from session_impl.cpp:54: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from session_impl.cpp:59: ../include/libtorrent/alert.hpp: At global scope: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from session_impl.cpp:59: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from session_impl.cpp:59: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from session_impl.cpp:59: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from session_impl.cpp:59: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from session_impl.cpp:59: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from session_impl.cpp:59: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from session_impl.cpp:59: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:59:0: ../include/libtorrent/session.hpp:465:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:59:0: ../include/libtorrent/session.hpp:486:53: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const& fun); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_rename_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_delete_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_get_peers_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_need_cert_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_impl.cpp:62:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from session_impl.cpp:65: ../include/libtorrent/aux_/session_impl.hpp: At global scope: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from session_impl.cpp:65: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from /usr/include/dirent.h:245:0, from ../include/libtorrent/file.hpp:78, from ../include/libtorrent/storage.hpp:60, from ../include/libtorrent/torrent_handle.hpp:57, from ../include/libtorrent/session.hpp:50, from session_impl.cpp:59: session_impl.cpp:520:53: warning: offsetof within non-standard-layout type 'libtorrent::aux::session_impl' is undefined [-Winvalid-offsetof] { name, map, lenof(map), session:: flag , offsetof(session_impl, member), offsetof(all_default_values, member) }, ^ session_impl.cpp:524:3: note: in expansion of macro 'TORRENT_CATEGORY' TORRENT_CATEGORY("settings", save_settings, m_settings, session_settings_map) ^ session_impl.cpp:520:53: warning: offsetof within non-standard-layout type 'libtorrent::aux::session_impl' is undefined [-Winvalid-offsetof] { name, map, lenof(map), session:: flag , offsetof(session_impl, member), offsetof(all_default_values, member) }, ^ session_impl.cpp:526:3: note: in expansion of macro 'TORRENT_CATEGORY' TORRENT_CATEGORY("dht", save_dht_settings, m_dht_settings, dht_settings_map) ^ session_impl.cpp:520:53: warning: offsetof within non-standard-layout type 'libtorrent::aux::session_impl' is undefined [-Winvalid-offsetof] { name, map, lenof(map), session:: flag , offsetof(session_impl, member), offsetof(all_default_values, member) }, ^ session_impl.cpp:528:3: note: in expansion of macro 'TORRENT_CATEGORY' TORRENT_CATEGORY("proxy", save_proxy, m_proxy, proxy_settings_map) ^ session_impl.cpp:520:53: warning: offsetof within non-standard-layout type 'libtorrent::aux::session_impl' is undefined [-Winvalid-offsetof] { name, map, lenof(map), session:: flag , offsetof(session_impl, member), offsetof(all_default_values, member) }, ^ session_impl.cpp:533:3: note: in expansion of macro 'TORRENT_CATEGORY' TORRENT_CATEGORY("encryption", save_encryption_settings, m_pe_settings, pe_settings_map) ^ session_impl.cpp: In member function 'void libtorrent::aux::session_impl::open_new_incoming_socks_connection()': session_impl.cpp:2482:8: warning: unused variable 'ret' [-Wunused-variable] bool ret = instantiate_connection(m_io_service, m_proxy ^~~ session_impl.cpp: In member function 'void libtorrent::aux::session_impl::open_new_incoming_i2p_connection()': session_impl.cpp:2540:8: warning: unused variable 'ret' [-Wunused-variable] bool ret = instantiate_connection(m_io_service, m_i2p_conn.proxy() ^~~ session_impl.cpp: In member function 'void libtorrent::aux::session_impl::post_torrent_updates()': session_impl.cpp:4925:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr alert(new state_update_alert()); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ session_impl.cpp: At global scope: session_impl.cpp:5906:66: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void session_impl::set_alert_dispatch(boost::function)> const& fun) ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ session_impl.cpp:5911:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr session_impl::pop_alert() ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from session_impl.cpp:46: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o settings.lo settings.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c settings.cpp -fPIC -DPIC -o .libs/settings.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o sha1.lo sha1.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c sha1.cpp -fPIC -DPIC -o .libs/sha1.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o smart_ban.lo smart_ban.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c smart_ban.cpp -fPIC -DPIC -o .libs/smart_ban.o In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/torrent.hpp:57, from smart_ban.cpp:55: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/torrent.hpp:57, from smart_ban.cpp:55: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from smart_ban.cpp:55: ../include/libtorrent/alert.hpp: At global scope: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from smart_ban.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from smart_ban.cpp:55: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from smart_ban.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from smart_ban.cpp:55: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from smart_ban.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from smart_ban.cpp:55: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from smart_ban.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from smart_ban.cpp:55: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from smart_ban.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from smart_ban.cpp:55: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from smart_ban.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from smart_ban.cpp:55: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from smart_ban.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from smart_ban.cpp:55: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from smart_ban.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from smart_ban.cpp:55: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from smart_ban.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from smart_ban.cpp:55: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from smart_ban.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o socket_io.lo socket_io.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c socket_io.cpp -fPIC -DPIC -o .libs/socket_io.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o socket_type.lo socket_type.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c socket_type.cpp -fPIC -DPIC -o .libs/socket_type.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o socks5_stream.lo socks5_stream.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c socks5_stream.cpp -fPIC -DPIC -o .libs/socks5_stream.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o stat.lo stat.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c stat.cpp -fPIC -DPIC -o .libs/stat.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o storage.lo storage.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c storage.cpp -fPIC -DPIC -o .libs/storage.o In file included from ../include/libtorrent/storage.hpp:54:0, from storage.cpp:57: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/storage.hpp:54, from storage.cpp:57: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from storage.cpp:58: ../include/libtorrent/alert.hpp: At global scope: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from storage.cpp:45: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from storage.cpp:58: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from storage.cpp:45: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from storage.cpp:58: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from storage.cpp:45: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from storage.cpp:58: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from storage.cpp:45: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from storage.cpp:58: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from storage.cpp:45: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from storage.cpp:58: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from storage.cpp:45: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from storage.cpp:58: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from storage.cpp:45: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:65:0, from storage.cpp:58: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from storage.cpp:45: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from storage.cpp:58: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from storage.cpp:45: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from storage.cpp:58: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from storage.cpp:45: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from storage.cpp:60:0: ../include/libtorrent/session.hpp:465:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from storage.cpp:45: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from storage.cpp:60:0: ../include/libtorrent/session.hpp:486:53: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const& fun); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from storage.cpp:45: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ storage.cpp: In member function 'virtual bool libtorrent::default_storage::initialize(bool)': storage.cpp:456:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((!ec && s.file_size > file_iter->size) || file_iter->size == 0) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ storage.cpp: In member function 'virtual int libtorrent::default_storage::sparse_end(int) const': storage.cpp:633:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (file_offset < file_iter->size) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ storage.cpp: In member function 'virtual bool libtorrent::default_storage::verify_resume_data(const libtorrent::lazy_entry&, boost::system::error_code&)': storage.cpp:756:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!i->pad_file && i->size != fs->first) ~~~~~~~~^~~~~~~~~~~~ storage.cpp: In member function 'virtual void libtorrent::default_storage::hint_read(int, int, int)': storage.cpp:1028:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (file_offset < file_iter->size) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ storage.cpp:1051:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (file_offset + file_bytes_left > file_iter->size) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ storage.cpp: In member function 'int libtorrent::default_storage::readwritev(const iovec_t*, int, int, int, const libtorrent::default_storage::fileop&)': storage.cpp:1134:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (file_offset < file_iter->size) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ storage.cpp:1170:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (file_offset + file_bytes_left > file_iter->size) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ storage.cpp:1225:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] && (m_file_priority.size() <= file_index || m_file_priority[file_index] > 0)) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ storage.cpp:1257:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] && adjusted_offset + bytes_transferred >= file_iter->size ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ storage.cpp: In member function 'boost::intrusive_ptr libtorrent::default_storage::open_file(libtorrent::file_storage::iterator, int, boost::system::error_code&) const': storage.cpp:1426:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_file_priority.size() > file_index && m_file_priority[file_index] == 0) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o string_util.lo string_util.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c string_util.cpp -fPIC -DPIC -o .libs/string_util.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o thread.lo thread.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c thread.cpp -fPIC -DPIC -o .libs/thread.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o torrent.lo torrent.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c torrent.cpp -fPIC -DPIC -o .libs/torrent.o In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from torrent.cpp:56: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from torrent.cpp:56: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from torrent.cpp:57: ../include/libtorrent/alert.hpp: At global scope: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from torrent.cpp:57: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from torrent.cpp:57: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from torrent.cpp:57: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from torrent.cpp:57: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from torrent.cpp:57: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from torrent.cpp:57: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/session.hpp:57:0, from torrent.cpp:57: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:57:0: ../include/libtorrent/session.hpp:465:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:57:0: ../include/libtorrent/session.hpp:486:53: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const& fun); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from torrent.cpp:66: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from torrent.cpp:66: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_rename_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_delete_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_get_peers_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_need_cert_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent.cpp:72:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent.cpp:49: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ torrent.cpp: In member function 'void libtorrent::torrent::init()': torrent.cpp:1586:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_file_priority.size() > m_torrent_file->num_files()) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ torrent.cpp: In member function 'void libtorrent::torrent::prioritize_files(const std::vector&)': torrent.cpp:4026:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_file_priority.size() < limit) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ torrent.cpp: In member function 'void libtorrent::torrent::set_file_priority(int, int)': torrent.cpp:4047:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_file_priority.size() <= index) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ torrent.cpp: In member function 'int libtorrent::torrent::file_priority(int) const': torrent.cpp:4063:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_file_priority.size() <= index) return 1; ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ torrent.cpp: In member function 'void libtorrent::torrent::file_progress(std::vector&, int) const': torrent.cpp:8457:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (offset >= file->offset + file->size) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ torrent.cpp:8492:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (offset + block > file->offset + file->size) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ torrent.cpp:8505:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (offset == file->offset + file->size) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o torrent_handle.lo torrent_handle.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c torrent_handle.cpp -fPIC -DPIC -o .libs/torrent_handle.o In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/bt_peer_connection.hpp:59, from torrent_handle.cpp:54: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent_handle.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/bt_peer_connection.hpp:59, from torrent_handle.cpp:54: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent_handle.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/bt_peer_connection.hpp:59, from torrent_handle.cpp:54: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent_handle.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/bt_peer_connection.hpp:59, from torrent_handle.cpp:54: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent_handle.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/bt_peer_connection.hpp:59, from torrent_handle.cpp:54: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent_handle.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/bt_peer_connection.hpp:59, from torrent_handle.cpp:54: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent_handle.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/bt_peer_connection.hpp:59, from torrent_handle.cpp:54: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent_handle.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/bt_peer_connection.hpp:59, from torrent_handle.cpp:54: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent_handle.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/torrent.hpp:57, from ../include/libtorrent/bt_peer_connection.hpp:64, from torrent_handle.cpp:54: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/torrent.hpp:57, from ../include/libtorrent/bt_peer_connection.hpp:64, from torrent_handle.cpp:54: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from torrent_handle.cpp:54: ../include/libtorrent/aux_/session_impl.hpp: At global scope: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent_handle.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from torrent_handle.cpp:54: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent_handle.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent_handle.cpp:60:0: ../include/libtorrent/session.hpp:465:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent_handle.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from torrent_handle.cpp:60:0: ../include/libtorrent/session.hpp:486:53: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const& fun); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from torrent_handle.cpp:47: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o torrent_info.lo torrent_info.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c torrent_info.cpp -fPIC -DPIC -o .libs/torrent_info.o In file included from torrent_info.cpp:59:0: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from torrent_info.cpp:59: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o time.lo time.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c time.cpp -fPIC -DPIC -o .libs/time.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o timestamp_history.lo timestamp_history.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c timestamp_history.cpp -fPIC -DPIC -o .libs/timestamp_history.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o tracker_manager.lo tracker_manager.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c tracker_manager.cpp -fPIC -DPIC -o .libs/tracker_manager.o In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/aux_/session_impl.hpp:60, from tracker_manager.cpp:43: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/aux_/session_impl.hpp:60, from tracker_manager.cpp:43: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from tracker_manager.cpp:43: ../include/libtorrent/alert.hpp: At global scope: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from tracker_manager.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from tracker_manager.cpp:43: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from tracker_manager.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from tracker_manager.cpp:43: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from tracker_manager.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from tracker_manager.cpp:43: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from tracker_manager.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from tracker_manager.cpp:43: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from tracker_manager.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from tracker_manager.cpp:43: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from tracker_manager.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from tracker_manager.cpp:43: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from tracker_manager.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from tracker_manager.cpp:43: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from tracker_manager.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from tracker_manager.cpp:43:0: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from tracker_manager.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from tracker_manager.cpp:43:0: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from tracker_manager.cpp:38: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o udp_socket.lo udp_socket.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c udp_socket.cpp -fPIC -DPIC -o .libs/udp_socket.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o udp_tracker_connection.lo udp_tracker_connection.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c udp_tracker_connection.cpp -fPIC -DPIC -o .libs/udp_tracker_connection.o In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/aux_/session_impl.hpp:60, from udp_tracker_connection.cpp:53: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/aux_/session_impl.hpp:60, from udp_tracker_connection.cpp:53: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from udp_tracker_connection.cpp:53: ../include/libtorrent/alert.hpp: At global scope: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from udp_tracker_connection.cpp:42: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from udp_tracker_connection.cpp:53: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from udp_tracker_connection.cpp:42: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from udp_tracker_connection.cpp:53: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from udp_tracker_connection.cpp:42: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from udp_tracker_connection.cpp:53: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from udp_tracker_connection.cpp:42: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from udp_tracker_connection.cpp:53: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from udp_tracker_connection.cpp:42: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from udp_tracker_connection.cpp:53: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from udp_tracker_connection.cpp:42: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from udp_tracker_connection.cpp:53: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from udp_tracker_connection.cpp:42: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from udp_tracker_connection.cpp:53: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from udp_tracker_connection.cpp:42: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from udp_tracker_connection.cpp:53:0: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from udp_tracker_connection.cpp:42: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from udp_tracker_connection.cpp:53:0: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from udp_tracker_connection.cpp:42: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o upnp.lo upnp.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c upnp.cpp -fPIC -DPIC -o .libs/upnp.o upnp.cpp: In member function 'void libtorrent::upnp::on_reply(const endpoint&, char*, std::size_t)': upnp.cpp:374:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] , end(net.end()); i != end && num_chars < sizeof(msg); ++i) ~~~~~~~~~~^~~~~~~~~ upnp.cpp:405:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] , end(routes.end()); i != end && num_chars < sizeof(msg); ++i) ~~~~~~~~~~^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o ut_metadata.lo ut_metadata.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c ut_metadata.cpp -fPIC -DPIC -o .libs/ut_metadata.o In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ut_metadata.cpp:52: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ut_metadata.cpp:52: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ut_metadata.cpp:52: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ut_metadata.cpp:52: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ut_metadata.cpp:52: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ut_metadata.cpp:52: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ut_metadata.cpp:52: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ut_metadata.cpp:52: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/torrent.hpp:57, from ../include/libtorrent/bt_peer_connection.hpp:64, from ut_metadata.cpp:53: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/torrent.hpp:57, from ../include/libtorrent/bt_peer_connection.hpp:64, from ut_metadata.cpp:53: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from ut_metadata.cpp:53: ../include/libtorrent/aux_/session_impl.hpp: At global scope: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from ut_metadata.cpp:53: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_rename_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_delete_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_get_peers_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_need_cert_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ut_metadata.cpp:59:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_metadata.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o ut_pex.lo ut_pex.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c ut_pex.cpp -fPIC -DPIC -o .libs/ut_pex.o In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ut_pex.cpp:47: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_pex.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ut_pex.cpp:47: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_pex.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ut_pex.cpp:47: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_pex.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ut_pex.cpp:47: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_pex.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ut_pex.cpp:47: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_pex.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ut_pex.cpp:47: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_pex.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ut_pex.cpp:47: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_pex.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ut_pex.cpp:47: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_pex.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/torrent.hpp:57, from ../include/libtorrent/bt_peer_connection.hpp:64, from ut_pex.cpp:48: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/torrent.hpp:57, from ../include/libtorrent/bt_peer_connection.hpp:64, from ut_pex.cpp:48: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from ut_pex.cpp:48: ../include/libtorrent/aux_/session_impl.hpp: At global scope: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_pex.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/bt_peer_connection.hpp:64, from ut_pex.cpp:48: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from ut_pex.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o utf8.lo utf8.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c utf8.cpp -fPIC -DPIC -o .libs/utf8.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o utp_socket_manager.lo utp_socket_manager.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c utp_socket_manager.cpp -fPIC -DPIC -o .libs/utp_socket_manager.o utp_socket_manager.cpp: In member function 'bool libtorrent::utp_socket_manager::incoming_packet(const char*, int, const endpoint&)': utp_socket_manager.cpp:306:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_utp_sockets.size() > m_sett.connections_limit * 2) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o utp_stream.lo utp_stream.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c utp_stream.cpp -fPIC -DPIC -o .libs/utp_stream.o utp_stream.cpp: In member function 'bool libtorrent::utp_socket_impl::incoming_packet(const char*, int, const endpoint&, libtorrent::ptime)': utp_stream.cpp:2423:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ptr - buf + len > size_t(size)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o web_peer_connection.lo web_peer_connection.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c web_peer_connection.cpp -fPIC -DPIC -o .libs/web_peer_connection.o In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from ../include/libtorrent/web_peer_connection.hpp:58, from web_peer_connection.cpp:40: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from ../include/libtorrent/web_peer_connection.hpp:58, from web_peer_connection.cpp:40: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from ../include/libtorrent/web_peer_connection.hpp:58, from web_peer_connection.cpp:40: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from ../include/libtorrent/web_peer_connection.hpp:58, from web_peer_connection.cpp:40: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from ../include/libtorrent/web_peer_connection.hpp:58, from web_peer_connection.cpp:40: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from ../include/libtorrent/web_peer_connection.hpp:58, from web_peer_connection.cpp:40: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from ../include/libtorrent/web_peer_connection.hpp:58, from web_peer_connection.cpp:40: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/peer_connection.hpp:66:0, from ../include/libtorrent/web_connection_base.hpp:60, from ../include/libtorrent/web_peer_connection.hpp:58, from web_peer_connection.cpp:40: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/storage.hpp:54:0, from ../include/libtorrent/web_connection_base.hpp:63, from ../include/libtorrent/web_peer_connection.hpp:58, from web_peer_connection.cpp:40: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/storage.hpp:54, from ../include/libtorrent/web_connection_base.hpp:63, from ../include/libtorrent/web_peer_connection.hpp:58, from web_peer_connection.cpp:40: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/web_connection_base.hpp:67, from ../include/libtorrent/web_peer_connection.hpp:58, from web_peer_connection.cpp:40: ../include/libtorrent/aux_/session_impl.hpp: At global scope: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent.hpp:75:0, from ../include/libtorrent/web_connection_base.hpp:67, from ../include/libtorrent/web_peer_connection.hpp:58, from web_peer_connection.cpp:40: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:41:0: ../include/libtorrent/session.hpp:465:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:41:0: ../include/libtorrent/session.hpp:486:53: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const& fun); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_rename_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_delete_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_get_peers_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_need_cert_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from web_peer_connection.cpp:45:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from web_peer_connection.cpp:37: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o dht_tracker.lo `test -f 'kademlia/dht_tracker.cpp' || echo './'`kademlia/dht_tracker.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c kademlia/dht_tracker.cpp -fPIC -DPIC -o .libs/dht_tracker.o In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/aux_/session_impl.hpp:60, from kademlia/dht_tracker.cpp:50: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/aux_/session_impl.hpp:60, from kademlia/dht_tracker.cpp:50: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from kademlia/dht_tracker.cpp:50: ../include/libtorrent/alert.hpp: At global scope: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/dht_tracker.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from kademlia/dht_tracker.cpp:50: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/dht_tracker.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from kademlia/dht_tracker.cpp:50: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/dht_tracker.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from kademlia/dht_tracker.cpp:50: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/dht_tracker.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from kademlia/dht_tracker.cpp:50: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/dht_tracker.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from kademlia/dht_tracker.cpp:50: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/dht_tracker.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from kademlia/dht_tracker.cpp:50: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/dht_tracker.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from kademlia/dht_tracker.cpp:50: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/dht_tracker.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/dht_tracker.cpp:50:0: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/dht_tracker.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/dht_tracker.cpp:50:0: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/dht_tracker.cpp:41: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o find_data.lo `test -f 'kademlia/find_data.cpp' || echo './'`kademlia/find_data.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c kademlia/find_data.cpp -fPIC -DPIC -o .libs/find_data.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o node.lo `test -f 'kademlia/node.cpp' || echo './'`kademlia/node.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c kademlia/node.cpp -fPIC -DPIC -o .libs/node.o In file included from ../include/libtorrent/alert_types.hpp:36:0, from kademlia/node.cpp:42: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/alert_types.hpp:36:0, from kademlia/node.cpp:42: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/alert_types.hpp:36:0, from kademlia/node.cpp:42: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/alert_types.hpp:36:0, from kademlia/node.cpp:42: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/alert_types.hpp:36:0, from kademlia/node.cpp:42: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/alert_types.hpp:36:0, from kademlia/node.cpp:42: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/alert_types.hpp:36:0, from kademlia/node.cpp:42: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/alert_types.hpp:36:0, from kademlia/node.cpp:42: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/alert_types.hpp:37, from kademlia/node.cpp:42: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/alert_types.hpp:37, from kademlia/node.cpp:42: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_added_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_removed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::read_piece_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_completed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_renamed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_rename_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::performance_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_changed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_warning_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::scrape_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_reply_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::tracker_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::hash_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_ban_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_unsnubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_snubbed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_connect_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_disconnected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::invalid_request_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::piece_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::request_dropped_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_timeout_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_finished_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::block_downloading_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::unwanted_block_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::storage_moved_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_deleted_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_delete_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::save_resume_data_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_paused_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_resumed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_checked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::url_seed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::file_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::metadata_received_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::udp_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::external_ip_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_failed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::listen_succeeded_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::portmap_log_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::fastresume_rejected_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::peer_blocked_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_announce_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_get_peers_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::stats_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::cache_flushed_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::anonymous_mode_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::lsd_peer_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::trackerid_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::dht_bootstrap_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::rss_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_error_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::torrent_need_cert_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::incoming_connection_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::add_torrent_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::state_update_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: At global scope: ../include/libtorrent/alert_types.hpp:109:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const \ ^ ../include/libtorrent/alert_types.hpp:109:15: note: in definition of macro 'TORRENT_DEFINE_ALERT' virtual std::auto_ptr clone() const \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:42:0: ../include/libtorrent/alert_types.hpp: In member function 'virtual std::auto_ptr libtorrent::i2p_alert::clone() const': ../include/libtorrent/alert_types.hpp:110:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] { return std::auto_ptr(new name(*this)); } \ ^ ../include/libtorrent/alert_types.hpp:110:16: note: in definition of macro 'TORRENT_DEFINE_ALERT' { return std::auto_ptr(new name(*this)); } \ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:46:0: ../include/libtorrent/aux_/session_impl.hpp: At global scope: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/node.cpp:46:0: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/get_pointer.hpp:14, from /usr/include/boost/bind/mem_fn.hpp:25, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/bind/bind.hpp:26, from /usr/include/boost/bind.hpp:22, from kademlia/node.cpp:36: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o node_id.lo `test -f 'kademlia/node_id.cpp' || echo './'`kademlia/node_id.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c kademlia/node_id.cpp -fPIC -DPIC -o .libs/node_id.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o refresh.lo `test -f 'kademlia/refresh.cpp' || echo './'`kademlia/refresh.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c kademlia/refresh.cpp -fPIC -DPIC -o .libs/refresh.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o routing_table.lo `test -f 'kademlia/routing_table.cpp' || echo './'`kademlia/routing_table.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c kademlia/routing_table.cpp -fPIC -DPIC -o .libs/routing_table.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o rpc_manager.lo `test -f 'kademlia/rpc_manager.cpp' || echo './'`kademlia/rpc_manager.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c kademlia/rpc_manager.cpp -fPIC -DPIC -o .libs/rpc_manager.o In file included from ../include/libtorrent/torrent_handle.hpp:54:0, from ../include/libtorrent/aux_/session_impl.hpp:60, from kademlia/rpc_manager.cpp:37: ../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../include/libtorrent/torrent_info.hpp:58:0, from ../include/libtorrent/torrent_handle.hpp:54, from ../include/libtorrent/aux_/session_impl.hpp:60, from kademlia/rpc_manager.cpp:37: ../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from kademlia/rpc_manager.cpp:37: ../include/libtorrent/alert.hpp: At global scope: ../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from kademlia/rpc_manager.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from kademlia/rpc_manager.cpp:37: ../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from kademlia/rpc_manager.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from kademlia/rpc_manager.cpp:37: ../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from kademlia/rpc_manager.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from kademlia/rpc_manager.cpp:37: ../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from kademlia/rpc_manager.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from kademlia/rpc_manager.cpp:37: ../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from kademlia/rpc_manager.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from kademlia/rpc_manager.cpp:37: ../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from kademlia/rpc_manager.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from kademlia/rpc_manager.cpp:37: ../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from kademlia/rpc_manager.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../include/libtorrent/aux_/session_impl.hpp:82:0, from kademlia/rpc_manager.cpp:37: ../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from kademlia/rpc_manager.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/rpc_manager.cpp:37:0: ../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from kademlia/rpc_manager.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from kademlia/rpc_manager.cpp:37:0: ../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/asio/detail/addressof.hpp:21, from /usr/include/boost/asio/detail/handler_alloc_helpers.hpp:19, from /usr/include/boost/asio/detail/bind_handler.hpp:19, from /usr/include/boost/asio/detail/wrapped_handler.hpp:18, from /usr/include/boost/asio/io_service.hpp:24, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket_acceptor.hpp:19, from /usr/include/boost/asio/ip/tcp.hpp:19, from ../include/libtorrent/socket.hpp:61, from kademlia/rpc_manager.cpp:34: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o traversal_algorithm.lo `test -f 'kademlia/traversal_algorithm.cpp' || echo './'`kademlia/traversal_algorithm.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c kademlia/traversal_algorithm.cpp -fPIC -DPIC -o .libs/traversal_algorithm.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -c -o GeoIP.lo GeoIP.c libtool: compile: i586-alt-linux-gcc -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -c GeoIP.c -fPIC -DPIC -o .libs/GeoIP.o cc1: warning: command line option '-ftemplate-depth=100' is valid for C++/ObjC++ but not for C GeoIP.c: In function '_check_mtime': GeoIP.c:334:17: warning: unused variable 'src_start' [-Wunused-variable] char const* src_start; ^~~~~~~~~ GeoIP.c:333:20: warning: unused variable 'dst_start' [-Wunused-variable] wchar_t const* dst_start; ^~~~~~~~~ GeoIP.c:332:14: warning: unused variable 'wfilename' [-Wunused-variable] wchar_t* wfilename; ^~~~~~~~~ GeoIP.c:331:9: warning: unused variable 'name_len' [-Wunused-variable] int name_len; ^~~~~~~~ GeoIP.c: In function '_GeoIP_seek_record': GeoIP.c:431:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(stack_buffer,gi->record_length,2,gi->GeoIPDatabase); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GeoIP.c: In function '_setup_segments': GeoIP.c:280:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(delim, 1, 3, gi->GeoIPDatabase); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GeoIP.c:282:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&gi->databaseType, 1, 1, gi->GeoIPDatabase); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GeoIP.c:304:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, SEGMENT_RECORD_LENGTH, 1, gi->GeoIPDatabase); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GeoIP.c: In function 'GeoIP_database_info': GeoIP.c:858:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, 3, gi->GeoIPDatabase); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GeoIP.c:873:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, 3, gi->GeoIPDatabase); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GeoIP.c:879:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(retval, 1, i, gi->GeoIPDatabase); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GeoIP.c: In function '_get_name': GeoIP.c:1012:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, sizeof(char), MAX_ORG_RECORD_LENGTH, gi->GeoIPDatabase); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: GeoIP.c:249:5: warning: '_file_exists' defined but not used [-Wunused-function] int _file_exists(const char *file_name) { ^~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" -DPACKAGE_STRING=\"libtorrent-rasterbar\ 0.16.19\" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c -o asio_ssl.lo asio_ssl.cpp libtool: compile: i586-alt-linux-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.19\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.19\"" -DPACKAGE_BUGREPORT=\"arvid@libtorrent.org\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.19\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 "-DHAVE_BOOST=/**/" -DHAVE_BOOST_SYSTEM=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -c asio_ssl.cpp -fPIC -DPIC -o .libs/asio_ssl.o /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -ftemplate-depth=120 -fvisibility=hidden -fvisibility-inlines-hidden -version-info 8:0:0 -L/usr/lib -L/lib -lrt -fvisibility=hidden -fvisibility-inlines-hidden -o libtorrent-rasterbar.la -rpath /usr/lib web_connection_base.lo alert.lo allocator.lo asio.lo assert.lo bandwidth_limit.lo bandwidth_manager.lo bandwidth_queue_entry.lo bloom_filter.lo broadcast_socket.lo bt_peer_connection.lo chained_buffer.lo connection_queue.lo ConvertUTF.lo create_torrent.lo disk_buffer_holder.lo disk_buffer_pool.lo disk_io_thread.lo entry.lo enum_net.lo error_code.lo escape_string.lo file.lo file_pool.lo file_storage.lo gzip.lo http_connection.lo http_parser.lo http_seed_connection.lo http_stream.lo http_tracker_connection.lo i2p_stream.lo identify_client.lo instantiate_connection.lo ip_filter.lo lazy_bdecode.lo logger.lo lsd.lo lt_trackers.lo magnet_uri.lo metadata_transfer.lo mpi.lo natpmp.lo parse_url.lo pe_crypto.lo peer_connection.lo piece_picker.lo packet_buffer.lo policy.lo puff.lo random.lo rsa.lo rss.lo session.lo session_impl.lo settings.lo sha1.lo smart_ban.lo socket_io.lo socket_type.lo socks5_stream.lo stat.lo storage.lo string_util.lo thread.lo torrent.lo torrent_handle.lo torrent_info.lo time.lo timestamp_history.lo tracker_manager.lo udp_socket.lo udp_tracker_connection.lo upnp.lo ut_metadata.lo ut_pex.lo utf8.lo utp_socket_manager.lo utp_stream.lo web_peer_connection.lo dht_tracker.lo find_data.lo node.lo node_id.lo refresh.lo routing_table.lo rpc_manager.lo traversal_algorithm.lo GeoIP.lo asio_ssl.lo -lboost_system-mt -lssl -lcrypto -lpthread libtool: link: i586-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i586-alt-linux/6/../../../crti.o /usr/lib/gcc/i586-alt-linux/6/crtbeginS.o .libs/web_connection_base.o .libs/alert.o .libs/allocator.o .libs/asio.o .libs/assert.o .libs/bandwidth_limit.o .libs/bandwidth_manager.o .libs/bandwidth_queue_entry.o .libs/bloom_filter.o .libs/broadcast_socket.o .libs/bt_peer_connection.o .libs/chained_buffer.o .libs/connection_queue.o .libs/ConvertUTF.o .libs/create_torrent.o .libs/disk_buffer_holder.o .libs/disk_buffer_pool.o .libs/disk_io_thread.o .libs/entry.o .libs/enum_net.o .libs/error_code.o .libs/escape_string.o .libs/file.o .libs/file_pool.o .libs/file_storage.o .libs/gzip.o .libs/http_connection.o .libs/http_parser.o .libs/http_seed_connection.o .libs/http_stream.o .libs/http_tracker_connection.o .libs/i2p_stream.o .libs/identify_client.o .libs/instantiate_connection.o .libs/ip_filter.o .libs/lazy_bdecode.o .libs/logger.o .libs/lsd.o .libs/lt_trackers.o .libs/magnet_uri.o .libs/metadata_transfer.o .libs/mpi.o .libs/natpmp.o .libs/parse_url.o .libs/pe_crypto.o .libs/peer_connection.o .libs/piece_picker.o .libs/packet_buffer.o .libs/policy.o .libs/puff.o .libs/random.o .libs/rsa.o .libs/rss.o .libs/session.o .libs/session_impl.o .libs/settings.o .libs/sha1.o .libs/smart_ban.o .libs/socket_io.o .libs/socket_type.o .libs/socks5_stream.o .libs/stat.o .libs/storage.o .libs/string_util.o .libs/thread.o .libs/torrent.o .libs/torrent_handle.o .libs/torrent_info.o .libs/time.o .libs/timestamp_history.o .libs/tracker_manager.o .libs/udp_socket.o .libs/udp_tracker_connection.o .libs/upnp.o .libs/ut_metadata.o .libs/ut_pex.o .libs/utf8.o .libs/utp_socket_manager.o .libs/utp_stream.o .libs/web_peer_connection.o .libs/dht_tracker.o .libs/find_data.o .libs/node.o .libs/node_id.o .libs/refresh.o .libs/routing_table.o .libs/rpc_manager.o .libs/traversal_algorithm.o .libs/GeoIP.o .libs/asio_ssl.o -L/usr/lib -L/lib -lrt -lboost_system-mt -lssl -lcrypto -lpthread -L/usr/lib/gcc/i586-alt-linux/6 -L/usr/lib/gcc/i586-alt-linux/6/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/6/crtendS.o /usr/lib/gcc/i586-alt-linux/6/../../../crtn.o -march=i586 -mtune=generic -O3 -Wl,-soname -Wl,libtorrent-rasterbar.so.8 -o .libs/libtorrent-rasterbar.so.8.0.0 libtool: link: (cd ".libs" && rm -f "libtorrent-rasterbar.so.8" && ln -s "libtorrent-rasterbar.so.8.0.0" "libtorrent-rasterbar.so.8") libtool: link: (cd ".libs" && rm -f "libtorrent-rasterbar.so" && ln -s "libtorrent-rasterbar.so.8.0.0" "libtorrent-rasterbar.so") libtool: link: ( cd ".libs" && rm -f "libtorrent-rasterbar.la" && ln -s "../libtorrent-rasterbar.la" "libtorrent-rasterbar.la" ) make[1]: Leaving directory `/usr/src/RPM/BUILD/libtorrent-rasterbar8-0.16.19/src' Making all in examples make[1]: Entering directory `/usr/src/RPM/BUILD/libtorrent-rasterbar8-0.16.19/examples' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/RPM/BUILD/libtorrent-rasterbar8-0.16.19/examples' Making all in test make[1]: Entering directory `/usr/src/RPM/BUILD/libtorrent-rasterbar8-0.16.19/test' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/RPM/BUILD/libtorrent-rasterbar8-0.16.19/test' Making all in bindings make[1]: Entering directory `/usr/src/RPM/BUILD/libtorrent-rasterbar8-0.16.19/bindings' Making all in python make[2]: Entering directory `/usr/src/RPM/BUILD/libtorrent-rasterbar8-0.16.19/bindings/python' /usr/bin/python setup.py build running build running build_ext building 'libtorrent' extension creating build creating build/temp.linux-i686-2.7 creating build/temp.linux-i686-2.7/src i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/version.cpp -o build/temp.linux-i686-2.7/src/version.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/utility.cpp -o build/temp.linux-i686-2.7/src/utility.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/torrent_status.cpp -o build/temp.linux-i686-2.7/src/torrent_status.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from ../../include/libtorrent/torrent_handle.hpp:54:0, from src/torrent_status.cpp:6: ../../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../../include/libtorrent/torrent_info.hpp:58:0, from ../../include/libtorrent/torrent_handle.hpp:54, from src/torrent_status.cpp:6: ../../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/torrent_info.cpp -o build/temp.linux-i686-2.7/src/torrent_info.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from src/torrent_info.cpp:6:0: ../../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../../include/libtorrent/torrent_info.hpp:58:0, from src/torrent_info.cpp:6: ../../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ src/torrent_info.cpp: In function 'void bind_torrent_info()': src/torrent_info.cpp:184:83: warning: 'void libtorrent::torrent_info::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] void (torrent_info::*rename_file1)(int, std::wstring const&) = &torrent_info::rename_file; ^~~~~~~~~~~ In file included from src/torrent_info.cpp:6:0: ../../include/libtorrent/torrent_info.hpp:284:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED ^~~~~~~~~~~ src/torrent_info.cpp: At global scope: src/torrent_info.cpp:97:28: warning: 'libtorrent::file_storage::iterator {anonymous}::end_files(libtorrent::torrent_info&)' defined but not used [-Wunused-function] file_storage::iterator end_files(torrent_info& i) ^~~~~~~~~ src/torrent_info.cpp:92:28: warning: 'libtorrent::file_storage::iterator {anonymous}::begin_files(libtorrent::torrent_info&)' defined but not used [-Wunused-function] file_storage::iterator begin_files(torrent_info& i) ^~~~~~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/torrent_handle.cpp -o build/temp.linux-i686-2.7/src/torrent_handle.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from ../../include/libtorrent/torrent_handle.hpp:54:0, from src/torrent_handle.cpp:7: ../../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../../include/libtorrent/torrent_info.hpp:58:0, from ../../include/libtorrent/torrent_handle.hpp:54, from src/torrent_handle.cpp:7: ../../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ src/torrent_handle.cpp: In function 'void set_peer_upload_limit(libtorrent::torrent_handle&, const boost::python::tuple&, int)': src/torrent_handle.cpp:335:58: warning: 'void libtorrent::torrent_handle::set_peer_upload_limit(boost::asio::ip::tcp::endpoint, int) const' is deprecated [-Wdeprecated-declarations] th.set_peer_upload_limit(tuple_to_endpoint(ip), limit); ^ In file included from src/torrent_handle.cpp:7:0: ../../include/libtorrent/torrent_handle.hpp:279:8: note: declared here void set_peer_upload_limit(tcp::endpoint ip, int limit) const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~ src/torrent_handle.cpp: In function 'void set_peer_download_limit(libtorrent::torrent_handle&, const boost::python::tuple&, int)': src/torrent_handle.cpp:340:60: warning: 'void libtorrent::torrent_handle::set_peer_download_limit(boost::asio::ip::tcp::endpoint, int) const' is deprecated [-Wdeprecated-declarations] th.set_peer_download_limit(tuple_to_endpoint(ip), limit); ^ In file included from src/torrent_handle.cpp:7:0: ../../include/libtorrent/torrent_handle.hpp:281:8: note: declared here void set_peer_download_limit(tcp::endpoint ip, int limit) const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~ src/torrent_handle.cpp: In function 'void bind_torrent_handle()': src/torrent_handle.cpp:354:71: warning: 'bool libtorrent::torrent_handle::super_seeding() const' is deprecated [-Wdeprecated-declarations] bool (torrent_handle::*super_seeding0)() const = &torrent_handle::super_seeding; ^~~~~~~~~~~~~ In file included from src/torrent_handle.cpp:7:0: ../../include/libtorrent/torrent_handle.hpp:301:8: note: declared here bool super_seeding() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~ src/torrent_handle.cpp:365:89: warning: 'void libtorrent::torrent_handle::move_storage(const wstring&) const' is deprecated [-Wdeprecated-declarations] void (torrent_handle::*move_storage1)(std::wstring const&) const = &torrent_handle::move_storage; ^~~~~~~~~~~~ In file included from src/torrent_handle.cpp:7:0: ../../include/libtorrent/torrent_handle.hpp:409:8: note: declared here void move_storage(std::wstring const& save_path) const TORRENT_DEPRECATED; ^~~~~~~~~~~~ src/torrent_handle.cpp:366:93: warning: 'void libtorrent::torrent_handle::rename_file(int, const wstring&) const' is deprecated [-Wdeprecated-declarations] void (torrent_handle::*rename_file1)(int, std::wstring const&) const = &torrent_handle::rename_file; ^~~~~~~~~~~ In file included from src/torrent_handle.cpp:7:0: ../../include/libtorrent/torrent_handle.hpp:411:8: note: declared here void rename_file(int index, std::wstring const& new_name) const TORRENT_DEPRECATED; ^~~~~~~~~~~ src/torrent_handle.cpp:416:49: warning: 'void libtorrent::torrent_handle::filter_piece(int, bool) const' is deprecated [-Wdeprecated-declarations] .def("filter_piece", _(&torrent_handle::filter_piece)) ^~~~~~~~~~~~ In file included from src/torrent_handle.cpp:7:0: ../../include/libtorrent/torrent_handle.hpp:307:8: note: declared here void filter_piece(int index, bool filter) const TORRENT_DEPRECATED; ^~~~~~~~~~~~ src/torrent_handle.cpp:417:54: warning: 'bool libtorrent::torrent_handle::is_piece_filtered(int) const' is deprecated [-Wdeprecated-declarations] .def("is_piece_filtered", _(&torrent_handle::is_piece_filtered)) ^~~~~~~~~~~~~~~~~ In file included from src/torrent_handle.cpp:7:0: ../../include/libtorrent/torrent_handle.hpp:311:8: note: declared here bool is_piece_filtered(int index) const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~ src/torrent_handle.cpp:418:54: warning: 'libtorrent::entry libtorrent::torrent_handle::write_resume_data() const' is deprecated [-Wdeprecated-declarations] .def("write_resume_data", _(&torrent_handle::write_resume_data)) ^~~~~~~~~~~~~~~~~ In file included from src/torrent_handle.cpp:7:0: ../../include/libtorrent/torrent_handle.hpp:347:9: note: declared here entry write_resume_data() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~ src/torrent_handle.cpp:419:44: warning: 'bool libtorrent::torrent_handle::is_seed() const' is deprecated [-Wdeprecated-declarations] .def("is_seed", _(&torrent_handle::is_seed)) ^~~~~~~ In file included from src/torrent_handle.cpp:7:0: ../../include/libtorrent/torrent_handle.hpp:289:8: note: declared here bool is_seed() const TORRENT_DEPRECATED; ^~~~~~~ src/torrent_handle.cpp:420:48: warning: 'bool libtorrent::torrent_handle::is_finished() const' is deprecated [-Wdeprecated-declarations] .def("is_finished", _(&torrent_handle::is_finished)) ^~~~~~~~~~~ In file included from src/torrent_handle.cpp:7:0: ../../include/libtorrent/torrent_handle.hpp:291:8: note: declared here bool is_finished() const TORRENT_DEPRECATED; ^~~~~~~~~~~ src/torrent_handle.cpp:421:46: warning: 'bool libtorrent::torrent_handle::is_paused() const' is deprecated [-Wdeprecated-declarations] .def("is_paused", _(&torrent_handle::is_paused)) ^~~~~~~~~ In file included from src/torrent_handle.cpp:7:0: ../../include/libtorrent/torrent_handle.hpp:293:8: note: declared here bool is_paused() const TORRENT_DEPRECATED; ^~~~~~~~~ src/torrent_handle.cpp:422:52: warning: 'bool libtorrent::torrent_handle::is_auto_managed() const' is deprecated [-Wdeprecated-declarations] .def("is_auto_managed", _(&torrent_handle::is_auto_managed)) ^~~~~~~~~~~~~~~ In file included from src/torrent_handle.cpp:7:0: ../../include/libtorrent/torrent_handle.hpp:295:8: note: declared here bool is_auto_managed() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~ src/torrent_handle.cpp:423:49: warning: 'bool libtorrent::torrent_handle::has_metadata() const' is deprecated [-Wdeprecated-declarations] .def("has_metadata", _(&torrent_handle::has_metadata)) ^~~~~~~~~~~~ In file included from src/torrent_handle.cpp:7:0: ../../include/libtorrent/torrent_handle.hpp:299:8: note: declared here bool has_metadata() const TORRENT_DEPRECATED; ^~~~~~~~~~~~ src/torrent_handle.cpp:462:46: warning: 'void libtorrent::torrent_handle::set_ratio(float) const' is deprecated [-Wdeprecated-declarations] .def("set_ratio", _(&torrent_handle::set_ratio)) ^~~~~~~~~ In file included from src/torrent_handle.cpp:7:0: ../../include/libtorrent/torrent_handle.hpp:285:8: note: declared here void set_ratio(float up_down_ratio) const TORRENT_DEPRECATED; ^~~~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/string.cpp -o build/temp.linux-i686-2.7/src/string.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED src/string.cpp: In static member function 'static void unicode_from_python::construct(PyObject*, boost::python::converter::rvalue_from_python_stage1_data*)': src/string.cpp:56:17: warning: unused variable 'ret' [-Wunused-variable] int ret = wchar_utf8(str, utf8); ^~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/session_settings.cpp -o build/temp.linux-i686-2.7/src/session_settings.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from ../../include/libtorrent/torrent_handle.hpp:54:0, from ../../include/libtorrent/session.hpp:50, from src/session_settings.cpp:6: ../../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../../include/libtorrent/torrent_info.hpp:58:0, from ../../include/libtorrent/torrent_handle.hpp:54, from ../../include/libtorrent/session.hpp:50, from src/session_settings.cpp:6: ../../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/session_settings.cpp:6: ../../include/libtorrent/alert.hpp: At global scope: ../../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session_settings.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/session_settings.cpp:6: ../../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session_settings.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/session_settings.cpp:6: ../../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session_settings.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/session_settings.cpp:6: ../../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session_settings.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/session_settings.cpp:6: ../../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session_settings.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/session_settings.cpp:6: ../../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session_settings.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/session_settings.cpp:6: ../../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session_settings.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/session_settings.cpp:6: ../../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session_settings.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/session_settings.cpp:6:0: ../../include/libtorrent/session.hpp:465:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session_settings.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/session_settings.cpp:6:0: ../../include/libtorrent/session.hpp:486:53: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const& fun); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session_settings.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/session.cpp -o build/temp.linux-i686-2.7/src/session.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from ../../include/libtorrent/torrent_handle.hpp:54:0, from ../../include/libtorrent/session.hpp:50, from src/session.cpp:8: ../../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../../include/libtorrent/torrent_info.hpp:58:0, from ../../include/libtorrent/torrent_handle.hpp:54, from ../../include/libtorrent/session.hpp:50, from src/session.cpp:8: ../../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/session.cpp:8: ../../include/libtorrent/alert.hpp: At global scope: ../../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/session.cpp:8: ../../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/session.cpp:8: ../../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/session.cpp:8: ../../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/session.cpp:8: ../../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/session.cpp:8: ../../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/session.cpp:8: ../../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/session.cpp:8: ../../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:465:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:486:53: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const& fun); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:75:0, from src/session.cpp:10: ../../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:75:0, from src/session.cpp:10: ../../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/session.cpp: In function 'libtorrent::torrent_handle {anonymous}::add_torrent_depr(libtorrent::session&, const libtorrent::torrent_info&, const string&, const libtorrent::entry&, libtorrent::storage_mode_t, bool)': src/session.cpp:177:97: warning: 'libtorrent::torrent_handle libtorrent::session::add_torrent(const libtorrent::torrent_info&, const string&, const libtorrent::entry&, libtorrent::storage_mode_t, bool, libtorrent::storage_constructor_type)' is deprecated [-Wdeprecated-declarations] return s.add_torrent(ti, save, resume, storage_mode, paused, default_storage_constructor); ^ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:213:18: note: declared here torrent_handle add_torrent( ^~~~~~~~~~~ src/session.cpp: In function 'boost::python::api::object {anonymous}::pop_alert(libtorrent::session&)': src/session.cpp:480:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr a; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/session.cpp: In function 'void bind_session()': src/session.cpp:526:59: warning: 'void libtorrent::session::start_dht(const libtorrent::entry&)' is deprecated [-Wdeprecated-declarations] void (session::*start_dht1)(entry const&) = &session::start_dht; ^~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:273:8: note: declared here void start_dht(entry const& startup_state) TORRENT_DEPRECATED; ^~~~~~~~~ src/session.cpp:678:51: warning: 'libtorrent::entry libtorrent::session::dht_state() const' is deprecated [-Wdeprecated-declarations] .def("dht_state", allow_threads(&session::dht_state)) ^~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:271:9: note: declared here entry dht_state() const TORRENT_DEPRECATED; ^~~~~~~~~ src/session.cpp:679:55: warning: 'void libtorrent::session::set_dht_proxy(const libtorrent::proxy_settings&)' is deprecated [-Wdeprecated-declarations] .def("set_dht_proxy", allow_threads(&session::set_dht_proxy)) ^~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:417:8: note: declared here void set_dht_proxy(proxy_settings const& s) TORRENT_DEPRECATED; ^~~~~~~~~~~~~ src/session.cpp:680:51: warning: 'libtorrent::proxy_settings libtorrent::session::dht_proxy() const' is deprecated [-Wdeprecated-declarations] .def("dht_proxy", allow_threads(&session::dht_proxy)) ^~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:419:18: note: declared here proxy_settings dht_proxy() const TORRENT_DEPRECATED; ^~~~~~~~~ src/session.cpp:701:71: warning: 'void libtorrent::session::set_local_download_rate_limit(int)' is deprecated [-Wdeprecated-declarations] .def("set_local_download_rate_limit", allow_threads(&session::set_local_download_rate_limit)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:444:8: note: declared here void set_local_download_rate_limit(int bytes_per_second) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:702:67: warning: 'int libtorrent::session::local_download_rate_limit() const' is deprecated [-Wdeprecated-declarations] .def("local_download_rate_limit", allow_threads(&session::local_download_rate_limit)) ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:437:7: note: declared here int local_download_rate_limit() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:704:69: warning: 'void libtorrent::session::set_local_upload_rate_limit(int)' is deprecated [-Wdeprecated-declarations] .def("set_local_upload_rate_limit", allow_threads(&session::set_local_upload_rate_limit)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:442:8: note: declared here void set_local_upload_rate_limit(int bytes_per_second) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:705:65: warning: 'int libtorrent::session::local_upload_rate_limit() const' is deprecated [-Wdeprecated-declarations] .def("local_upload_rate_limit", allow_threads(&session::local_upload_rate_limit)) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:435:7: note: declared here int local_upload_rate_limit() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:707:65: warning: 'void libtorrent::session::set_download_rate_limit(int)' is deprecated [-Wdeprecated-declarations] .def("set_download_rate_limit", allow_threads(&session::set_download_rate_limit)) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:448:8: note: declared here void set_download_rate_limit(int bytes_per_second) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:708:61: warning: 'int libtorrent::session::download_rate_limit() const' is deprecated [-Wdeprecated-declarations] .def("download_rate_limit", allow_threads(&session::download_rate_limit)) ^~~~~~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:433:7: note: declared here int download_rate_limit() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/session.cpp:710:63: warning: 'void libtorrent::session::set_upload_rate_limit(int)' is deprecated [-Wdeprecated-declarations] .def("set_upload_rate_limit", allow_threads(&session::set_upload_rate_limit)) ^~~~~~~~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:446:8: note: declared here void set_upload_rate_limit(int bytes_per_second) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~ src/session.cpp:711:59: warning: 'int libtorrent::session::upload_rate_limit() const' is deprecated [-Wdeprecated-declarations] .def("upload_rate_limit", allow_threads(&session::upload_rate_limit)) ^~~~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:431:7: note: declared here int upload_rate_limit() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~ src/session.cpp:713:57: warning: 'void libtorrent::session::set_max_uploads(int)' is deprecated [-Wdeprecated-declarations] .def("set_max_uploads", allow_threads(&session::set_max_uploads)) ^~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:450:8: note: declared here void set_max_uploads(int limit) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~ src/session.cpp:714:61: warning: 'void libtorrent::session::set_max_connections(int)' is deprecated [-Wdeprecated-declarations] .def("set_max_connections", allow_threads(&session::set_max_connections)) ^~~~~~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:452:8: note: declared here void set_max_connections(int limit) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/session.cpp:715:57: warning: 'int libtorrent::session::max_connections() const' is deprecated [-Wdeprecated-declarations] .def("max_connections", allow_threads(&session::max_connections)) ^~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:457:7: note: declared here int max_connections() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~ src/session.cpp:716:71: warning: 'void libtorrent::session::set_max_half_open_connections(int)' is deprecated [-Wdeprecated-declarations] .def("set_max_half_open_connections", allow_threads(&session::set_max_half_open_connections)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:454:8: note: declared here void set_max_half_open_connections(int limit) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:717:57: warning: 'int libtorrent::session::num_connections() const' is deprecated [-Wdeprecated-declarations] .def("num_connections", allow_threads(&session::num_connections)) ^~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:398:7: note: declared here int num_connections() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~ src/session.cpp:737:60: warning: 'void libtorrent::session::set_severity_level(libtorrent::alert::severity_t)' is deprecated [-Wdeprecated-declarations] .def("set_severity_level", allow_threads(&session::set_severity_level)) ^~~~~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:478:8: note: declared here void set_severity_level(alert::severity_t s) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~ src/session.cpp:738:68: warning: 'size_t libtorrent::session::set_alert_queue_size_limit(size_t)' is deprecated [-Wdeprecated-declarations] .def("set_alert_queue_size_limit", allow_threads(&session::set_alert_queue_size_limit)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:481:10: note: declared here size_t set_alert_queue_size_limit(size_t queue_size_limit_) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.cpp:746:56: warning: 'void libtorrent::session::set_peer_proxy(const libtorrent::proxy_settings&)' is deprecated [-Wdeprecated-declarations] .def("set_peer_proxy", allow_threads(&session::set_peer_proxy)) ^~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:402:8: note: declared here void set_peer_proxy(proxy_settings const& s) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~ src/session.cpp:747:59: warning: 'void libtorrent::session::set_tracker_proxy(const libtorrent::proxy_settings&)' is deprecated [-Wdeprecated-declarations] .def("set_tracker_proxy", allow_threads(&session::set_tracker_proxy)) ^~~~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:406:8: note: declared here void set_tracker_proxy(proxy_settings const& s) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~ src/session.cpp:748:60: warning: 'void libtorrent::session::set_web_seed_proxy(const libtorrent::proxy_settings&)' is deprecated [-Wdeprecated-declarations] .def("set_web_seed_proxy", allow_threads(&session::set_web_seed_proxy)) ^~~~~~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:404:8: note: declared here void set_web_seed_proxy(proxy_settings const& s) TORRENT_DEPRECATED; ^~~~~~~~~~~~~~~~~~ src/session.cpp:749:52: warning: 'libtorrent::proxy_settings libtorrent::session::peer_proxy() const' is deprecated [-Wdeprecated-declarations] .def("peer_proxy", allow_threads(&session::peer_proxy)) ^~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:409:18: note: declared here proxy_settings peer_proxy() const TORRENT_DEPRECATED; ^~~~~~~~~~ src/session.cpp:750:55: warning: 'libtorrent::proxy_settings libtorrent::session::tracker_proxy() const' is deprecated [-Wdeprecated-declarations] .def("tracker_proxy", allow_threads(&session::tracker_proxy)) ^~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:413:18: note: declared here proxy_settings tracker_proxy() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~ src/session.cpp:751:56: warning: 'libtorrent::proxy_settings libtorrent::session::web_seed_proxy() const' is deprecated [-Wdeprecated-declarations] .def("web_seed_proxy", allow_threads(&session::web_seed_proxy)) ^~~~~~~~~~~~~~ In file included from src/session.cpp:8:0: ../../include/libtorrent/session.hpp:411:18: note: declared here proxy_settings web_seed_proxy() const TORRENT_DEPRECATED; ^~~~~~~~~~~~~~ src/session.cpp:815:33: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] register_ptr_to_python >(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/session.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/peer_info.cpp -o build/temp.linux-i686-2.7/src/peer_info.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/module.cpp -o build/temp.linux-i686-2.7/src/module.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/magnet_uri.cpp -o build/temp.linux-i686-2.7/src/magnet_uri.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from ../../include/libtorrent/torrent_handle.hpp:54:0, from ../../include/libtorrent/session.hpp:50, from src/magnet_uri.cpp:6: ../../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../../include/libtorrent/torrent_info.hpp:58:0, from ../../include/libtorrent/torrent_handle.hpp:54, from ../../include/libtorrent/session.hpp:50, from src/magnet_uri.cpp:6: ../../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/magnet_uri.cpp:6: ../../include/libtorrent/alert.hpp: At global scope: ../../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/magnet_uri.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/magnet_uri.cpp:6: ../../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/magnet_uri.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/magnet_uri.cpp:6: ../../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/magnet_uri.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/magnet_uri.cpp:6: ../../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/magnet_uri.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/magnet_uri.cpp:6: ../../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/magnet_uri.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/magnet_uri.cpp:6: ../../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/magnet_uri.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/magnet_uri.cpp:6: ../../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/magnet_uri.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/magnet_uri.cpp:6: ../../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/magnet_uri.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/magnet_uri.cpp:6:0: ../../include/libtorrent/session.hpp:465:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/magnet_uri.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/magnet_uri.cpp:6:0: ../../include/libtorrent/session.hpp:486:53: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const& fun); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/magnet_uri.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:75:0, from src/magnet_uri.cpp:7: ../../include/libtorrent/aux_/session_impl.hpp:348:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/magnet_uri.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/torrent.hpp:75:0, from src/magnet_uri.cpp:7: ../../include/libtorrent/aux_/session_impl.hpp:350:54: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/magnet_uri.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ src/magnet_uri.cpp: In function 'libtorrent::torrent_handle {anonymous}::_add_magnet_uri(libtorrent::session&, std::__cxx11::string, boost::python::dict)': src/magnet_uri.cpp:32:40: warning: 'libtorrent::torrent_handle libtorrent::add_magnet_uri(libtorrent::session&, const string&, libtorrent::add_torrent_params)' is deprecated [-Wdeprecated-declarations] return add_magnet_uri(s, uri, p); ^ In file included from src/magnet_uri.cpp:8:0: ../../include/libtorrent/magnet_uri.hpp:62:32: note: declared here torrent_handle TORRENT_EXPORT add_magnet_uri(session& ses, std::string const& uri ^~~~~~~~~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/ip_filter.cpp -o build/temp.linux-i686-2.7/src/ip_filter.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/fingerprint.cpp -o build/temp.linux-i686-2.7/src/fingerprint.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/error_code.cpp -o build/temp.linux-i686-2.7/src/error_code.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/entry.cpp -o build/temp.linux-i686-2.7/src/entry.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from ../../include/libtorrent/torrent_handle.hpp:54:0, from ../../include/libtorrent/session.hpp:50, from src/entry.cpp:6: ../../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../../include/libtorrent/torrent_info.hpp:58:0, from ../../include/libtorrent/torrent_handle.hpp:54, from ../../include/libtorrent/session.hpp:50, from src/entry.cpp:6: ../../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/entry.cpp:6: ../../include/libtorrent/alert.hpp: At global scope: ../../include/libtorrent/alert.hpp:126:16: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr clone() const = 0; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/entry.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/entry.cpp:6: ../../include/libtorrent/alert.hpp:142:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr get(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/entry.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/entry.cpp:6: ../../include/libtorrent/alert.hpp:166:56: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_dispatch_function(boost::function)> const&); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/entry.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/entry.cpp:6: ../../include/libtorrent/alert.hpp:173:23: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void post_impl(std::auto_ptr& alert_); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/entry.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/entry.cpp:6: ../../include/libtorrent/alert.hpp:180:29: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] boost::function)> m_dispatch; ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/entry.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/entry.cpp:6: ../../include/libtorrent/alert.hpp:203:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& alert_, const Handler& handler ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/entry.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/entry.cpp:6: ../../include/libtorrent/alert.hpp:217:15: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] const std::auto_ptr& ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/entry.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from ../../include/libtorrent/session.hpp:57:0, from src/entry.cpp:6: ../../include/libtorrent/alert.hpp:232:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] handle_alert(const std::auto_ptr& alert_ ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/entry.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/entry.cpp:6:0: ../../include/libtorrent/session.hpp:465:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr pop_alert(); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/entry.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from src/entry.cpp:6:0: ../../include/libtorrent/session.hpp:486:53: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] void set_alert_dispatch(boost::function)> const& fun); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function/function_template.hpp:13, from /usr/include/boost/function/detail/maybe_include.hpp:13, from /usr/include/boost/function/function0.hpp:11, from /usr/include/boost/python/errors.hpp:13, from /usr/include/boost/python/handle.hpp:11, from /usr/include/boost/python/args_fwd.hpp:10, from /usr/include/boost/python/args.hpp:10, from /usr/include/boost/python.hpp:11, from src/entry.cpp:5: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/datetime.cpp -o build/temp.linux-i686-2.7/src/datetime.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pthread -pipe -Wall -g -march=i586 -mtune=generic -O3 -fno-strict-aliasing -DTORRENT_USE_WSTRING=1 -DTORRENT_EXPORT_EXTRA=1 -fvisibility=hidden -fPIC -I../../include -I/usr/include -I/usr/include/python2.7 -c src/create_torrent.cpp -o build/temp.linux-i686-2.7/src/create_torrent.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED In file included from ../../include/libtorrent/storage.hpp:54:0, from ../../include/libtorrent/create_torrent.hpp:40, from src/create_torrent.cpp:6: ../../include/libtorrent/torrent_info.hpp: In member function 'void libtorrent::torrent_info::rename_file(int, const wstring&)': ../../include/libtorrent/torrent_info.hpp:287:43: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] m_files.rename_file(index, new_filename); ^ In file included from ../../include/libtorrent/create_torrent.hpp:38:0, from src/create_torrent.cpp:6: ../../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ src/create_torrent.cpp: In function 'void bind_create_torrent()': src/create_torrent.cpp:81:124: warning: 'void libtorrent::file_storage::add_file(const wstring&, libtorrent::size_type, int, time_t, const string&)' is deprecated [-Wdeprecated-declarations] void (file_storage::*add_file1)(std::wstring const&, size_type, int, std::time_t, std::string const&) = &file_storage::add_file; ^~~~~~~~ In file included from ../../include/libtorrent/create_torrent.hpp:38:0, from src/create_torrent.cpp:6: ../../include/libtorrent/file_storage.hpp:205:8: note: declared here void add_file(std::wstring const& p, size_type size, int flags = 0 ^~~~~~~~ src/create_torrent.cpp:87:75: warning: 'void libtorrent::file_storage::set_name(const wstring&)' is deprecated [-Wdeprecated-declarations] void (file_storage::*set_name1)(std::wstring const&) = &file_storage::set_name; ^~~~~~~~ In file included from ../../include/libtorrent/create_torrent.hpp:38:0, from src/create_torrent.cpp:6: ../../include/libtorrent/file_storage.hpp:210:8: note: declared here void set_name(std::wstring const& n) TORRENT_DEPRECATED; ^~~~~~~~ src/create_torrent.cpp:88:83: warning: 'void libtorrent::file_storage::rename_file(int, const wstring&)' is deprecated [-Wdeprecated-declarations] void (file_storage::*rename_file1)(int, std::wstring const&) = &file_storage::rename_file; ^~~~~~~~~~~ In file included from ../../include/libtorrent/create_torrent.hpp:38:0, from src/create_torrent.cpp:6: ../../include/libtorrent/file_storage.hpp:208:8: note: declared here void rename_file(int index, std::wstring const& new_filename) TORRENT_DEPRECATED; ^~~~~~~~~~~ In file included from /usr/include/boost/bind.hpp:22:0, from /usr/include/boost/python/exception_translator.hpp:10, from /usr/include/boost/python.hpp:28, from src/create_torrent.cpp:5: /usr/include/boost/bind/bind.hpp: In instantiation of 'R boost::_bi::list2::operator()(boost::_bi::type, F&, A&, long int) [with R = bool; F = bool (*)(const boost::python::api::object&, std::__cxx11::basic_string&); A = boost::_bi::list1&>; A1 = boost::_bi::value; A2 = boost::arg<1>]': /usr/include/boost/bind/bind.hpp:905:50: required from 'boost::_bi::bind_t::result_type boost::_bi::bind_t::operator()(A1&&) [with A1 = std::__cxx11::basic_string; R = bool; F = bool (*)(const boost::python::api::object&, std::__cxx11::basic_string&); L = boost::_bi::list2, boost::arg<1> >; boost::_bi::bind_t::result_type = bool]' /usr/include/boost/function/function_template.hpp:138:22: required from 'static R boost::detail::function::function_obj_invoker1::invoke(boost::detail::function::function_buffer&, T0) [with FunctionObj = boost::_bi::bind_t&), boost::_bi::list2, boost::arg<1> > >; R = bool; T0 = std::__cxx11::basic_string]' /usr/include/boost/function/function_template.hpp:940:38: required from 'void boost::function1::assign_to(Functor) [with Functor = boost::_bi::bind_t&), boost::_bi::list2, boost::arg<1> > >; R = bool; T0 = std::__cxx11::basic_string]' /usr/include/boost/function/function_template.hpp:728:7: required from 'boost::function1::function1(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t&), boost::_bi::list2, boost::arg<1> > >; R = bool; T0 = std::__cxx11::basic_string; typename boost::enable_if_c::value>::value, int>::type = int]' /usr/include/boost/function/function_template.hpp:1077:16: required from 'boost::function::function(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t&), boost::_bi::list2, boost::arg<1> > >; R = bool; T0 = std::__cxx11::basic_string; typename boost::enable_if_c::value>::value, int>::type = int]' ../../include/libtorrent/create_torrent.hpp:201:25: required from 'void libtorrent::add_files(libtorrent::file_storage&, const string&, Pred, uint32_t) [with Pred = boost::_bi::bind_t&), boost::_bi::list2, boost::arg<1> > >; std::__cxx11::string = std::__cxx11::basic_string; uint32_t = unsigned int]' src/create_torrent.cpp:73:77: required from here /usr/include/boost/bind/bind.hpp:303:42: error: binding 'const std::__cxx11::basic_string' to reference of type 'std::__cxx11::basic_string&' discards qualifiers return unwrapper::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]); ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: command 'i586-alt-linux-gcc' failed with exit status 1 make[2]: *** [all-local] Error 1 make[2]: Leaving directory `/usr/src/RPM/BUILD/libtorrent-rasterbar8-0.16.19/bindings/python' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/libtorrent-rasterbar8-0.16.19/bindings' make: *** [all-recursive] Error 1 make: Leaving directory `/usr/src/RPM/BUILD/libtorrent-rasterbar8-0.16.19' error: Bad exit status from /usr/src/tmp/rpm-tmp.34535 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.34535 (%build) Command exited with non-zero status 1 682.07user 42.71system 11:46.06elapsed 102%CPU (0avgtext+0avgdata 758484maxresident)k 0inputs+0outputs (0major+9843224minor)pagefaults 0swaps hsh-rebuild: rebuild of `libtorrent-rasterbar8-0.16.19-alt1.1.src.rpm' failed. Command exited with non-zero status 1 707.00user 48.73system 12:16.19elapsed 102%CPU (0avgtext+0avgdata 758484maxresident)k 1072inputs+0outputs (0major+10205988minor)pagefaults 0swaps